ContactPoint2D.rigidbody
public Rigidbody2D rigidbody;
Description 描述
The incoming Rigidbody2D involved in the collision with the otherRigidbody.
This may be null if the Collision2D.collider is not attached to a Rigidbody2D.
See Also: Collider2D and Rigidbody2D.