Versions with this page:
Versions without this page:
The Rigidbody of the collider that was hit. If the collider is not attached to a rigidbody then it is null.
null
no example available in C#
See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.