ContactPair Struct

A single active contact between this body and another, returned by GetContacts(PhysicsBodyComponent, Span<ContactPair>, bool).

public readonly struct ContactPair
Properties
Contact Contact data for this pair. Normal is oriented away from Other toward the queried body — consistent with OnCollisionEnter.
Other The other body in the contact pair.
OtherSubShape The sub-shape on Other involved in this contact, or null if the other body's primary shape (or a chain segment) was the touching surface.
SelfSubShape The sub-shape on the queried body involved in this contact, or null if the primary shape (or a chain segment) was the touching surface.