# OtherBody

> The second Rigidbody or ArticulationBody in the pair.

## Definition

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

> **Warning:**
>
> **Deprecated.** Please use ContactPairHeader.otherBody instead.
>
> **Upgrade to** [ContactPairHeader.otherBody](/engine/6000.7/script-reference/unityengine/contactpairheader/otherbody-1.md)

```csharp
public Component OtherBody { get; }
```

### Remarks

Use with the `as` keyword to determine the actual type of the component.
