Collider.AttachedRigidbody

Output Rigidbody attached to Collider.

Collider.AttachedRigidbody

Property

Collider Collider
Attached Rigidbody Result output
Returns null if the collider is attached to no rigidbody.