A header struct which contains colliding bodies.
This struct contains an array of ContactPairs that can be retrieved with the GetContactPair method.
| Property | Description |
|---|---|
| body | The first Rigidbody or ArticulationBody in the pair. |
| bodyInstanceID | Instance ID of the first Rigidbody or the ArticualtionBody in the pair. |
| otherBody | The second Rigidbody or ArticulationBody in the pair. |
| otherBodyInstanceID | Instance ID of the second Rigidbody or the ArticualtionBody in the pair. |
| pairCount | Number of ContactPairs that this header contains. |
| Method | Description |
|---|---|
| GetContactPair | Gets the ContactPair at index of this pair header. |