InterfacesRayCastHitOn this pageRayCastHit Index PropertiesbodycolliderdistancenormalpointProperties bodybody: BodyComponentReference to the body that was hitcollidercollider: ColliderReference to the collider that was hitdistancedistance: numberThe distance along the ray cast in pixels that a hit was detectednormalnormal: VectorNormal vector of hit colliderpointpoint: VectorWorld space point of the hit
Reference to the body that was hit