# rigidbody

> The incoming Rigidbody2D involved in the collision with the ContactPoint2D.otherRigidbody.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public Rigidbody2D rigidbody { get; }
```

### Remarks

This may be null if the [Collision2D.collider](/engine/6000.6/script-reference/unityengine/collision2d/collider.md) is not attached to a [Rigidbody2D](/engine/6000.6/script-reference/unityengine/rigidbody2d.md).

Additional Resources: [Collider2D](/engine/6000.6/script-reference/unityengine/collider2d.md) and [Rigidbody2D](/engine/6000.6/script-reference/unityengine/rigidbody2d.md).
