Hit Object | Scene Object | The object involved in the interaction |
Hit Collider | Component | The collider component of the hit object |
Hit Point | Vec2 | The 2D point where the interaction occurred, such as the intersection point of the ray cast or the contact point of the collision |
Hit Normal | Vec2 | The surface normal vector at the hit point |
Hit Distance | Number | The distance from the starting point of the interaction (the ray origin) to the hit point |
Rigid Body | Component | The Rigid Body component attached to the object that was hit by the ray cast. This can be used to access the properties of the rigid body, or to apply forces or impulses to it |