Contains the result of a successful raycast intersection with a rigid body. When a ray
intersects with a rigid body in the physics simulation, this class stores the complete
information about that intersection including the entity, the exact point of impact, the normal
at the impact point, and the fractional distance along the ray where the intersection occurred.
Contains the result of a successful raycast intersection with a rigid body. When a ray intersects with a rigid body in the physics simulation, this class stores the complete information about that intersection including the entity, the exact point of impact, the normal at the impact point, and the fractional distance along the ray where the intersection occurred.
Instances of this class are created and returned by RigidBodyComponentSystem#raycastFirst and RigidBodyComponentSystem#raycastAll methods when performing physics raycasts.