Public Member Functions | Public Attributes | List of all members
PxContactPairVelocity Struct Reference

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

#include <PxSimulationEventCallback.h>

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

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

PX_FORCE_INLINE PxContactPairVelocity::PxContactPairVelocity ( )
inline

Member Data Documentation

PxVec3 PxContactPairVelocity::angularVelocity[2]

The angular velocity of the rigid bodies.

PxVec3 PxContactPairVelocity::linearVelocity[2]

The linear velocity of the rigid bodies.


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


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com