RavEngine
Loading...
Searching...
No Matches
physx::PxContactPairVelocity Struct Reference

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

#include <PxSimulationEventCallback.h>

Inheritance diagram for physx::PxContactPairVelocity:
[legend]
Collaboration diagram for physx::PxContactPairVelocity:
[legend]

Public Attributes

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

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

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