RaycastResult
Object holding the result of a successful raycast hit.
Summary
Properties
entity | The entity that was hit. |
hitFraction | The normalized distance (between 0 and 1) at which the ray hit occurred from the starting point. |
normal | The normal vector of the surface where the ray hit in world space. |
point | The point at which the ray hit the entity in world space. |