PxContactPairPoint
Defined in include/PxSimulationEventCallback.h
-
struct PxContactPairPoint
A contact point as used by contact notification.
Public Members
-
PxReal separation
The separation of the shapes at the contact point.
A negative separation denotes a penetration.
-
PxVec3 normal
The normal of the contacting surfaces at the contact point.
The normal direction points from the second shape to the first shape.
-
PxU32 internalFaceIndex0
The surface index of shape 0 at the contact point.
This is used to identify the surface material.
-
PxReal separation