PxContactPairVelocity Struct Reference

Velocities of the contact pair rigid bodies. More...

#include <PxSimulationEventCallback.h>

Inheritance diagram for PxContactPairVelocity:
Collaboration diagram for PxContactPairVelocity:

Public Member Functions

PX_FORCE_INLINE PxContactPairVelocity ()
 
- Public Member Functions inherited from PxContactPairExtraDataItem
PX_FORCE_INLINE PxContactPairExtraDataItem ()
 

Public Attributes

PxVec3 linearVelocity [2]
 The linear velocity of the rigid bodies. More...
 
PxVec3 angularVelocity [2]
 The angular velocity of the rigid bodies. More...
 
- Public Attributes inherited from PxContactPairExtraDataItem
PxU8 type
 The type of the extra data stream item. More...
 

Detailed Description

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:

Note
For static rigid bodies, the velocities will be set to zero.
See also
PxContactPairHeader.extraDataStream

Constructor & Destructor Documentation

◆ PxContactPairVelocity()

PX_FORCE_INLINE PxContactPairVelocity::PxContactPairVelocity ( )
inline

Member Data Documentation

◆ angularVelocity

PxVec3 PxContactPairVelocity::angularVelocity[2]

The angular velocity of the rigid bodies.

◆ linearVelocity

PxVec3 PxContactPairVelocity::linearVelocity[2]

The linear velocity of the rigid bodies.


The documentation for this struct was generated from the following file: