RayCollision

RayCollision, ray hit information

Members

Variables

distance
float distance;

Distance to the nearest hit

hit
bool hit;

Did the ray hit something?

normal
Vector3 normal;

Surface normal of hit

point
Vector3 point;

Point of the nearest hit

Meta