PxContactPairVelocity
Defined in include/PxSimulationEventCallback.h
-
struct PxContactPairVelocity : public PxContactPairExtraDataItem
Velocities of the contact pair rigid bodies.
This struct is shared by multiple types of extra data items. The type field allows to distinguish between them:
PxContactPairExtraDataType::ePRE_SOLVER_VELOCITY: see PxPairFlag::ePRE_SOLVER_VELOCITY
PxContactPairExtraDataType::ePOST_SOLVER_VELOCITY: see PxPairFlag::ePOST_SOLVER_VELOCITY
See also
PxContactPairHeader.extraDataStream
Note
For static rigid bodies, the velocities will be set to zero.
Public Functions
-
inline PxContactPairVelocity()