Version: 2017.3
public Rigidbody2D otherRigidbody ;

Descripción

The other Rigidbody2D involved in the collision with the rigidbody.

This may be null if the Collision2D.otherCollider is not attached to a Rigidbody2D.

See Also: Collider2D and Rigidbody2D.