public Rigidbody rigidbody ;

Descripción

The rigidbody that was hit by the controller.

Null if we didn't touch a rigidbody but a static collider.

no example available in C#