A pair of Colliders that belong to the bodies in the parent ContactPairHeader struct.
Contains an array of ContactPairPoints that can be retrieved using the GetContactPoint method.
Collider | The first Collider component of the ContactPair. |
ColliderInstanceID | Instance ID of the first Collider in the ContactPair. |
ContactCount | The number of ContactPairPoints that this pair contains. |
ImpulseSum | Total impulse sum of the pair. |
IsCollisionEnter | Whether or not this pair is equivalent to a pair reported in MonoBehaviour.OnCollisionEnter events. |
IsCollisionExit | Whether or not this pair is equivalent to a pair reported in MonoBehaviour.OnCollisionExit events. |
IsCollisionStay | Whether or not this pair is equivalent to a pair reported in MonoBehaviour.OnCollisionStay events. |
OtherCollider | The second Collider component of the ContactPair. |
OtherColliderInstanceID | Instance ID of the second Collider in the ContactPair. |
CopyToNativeArray | Copies the internal ContactPairPoint buffer to the provided buffer. |
GetContactPoint | Gets the ContactPairPoint at the provided index of this pair. |
GetContactPointFaceIndex | Get the index of a face that a particular contact point belongs to in this ContactPairPoint. |