# OtherBodyInstanceID

> Instance ID of the second Rigidbody or the ArticualtionBody in the pair.

## Definition

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

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

```csharp
public int OtherBodyInstanceID { get; }
```
