NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxContactPairVelocity Struct Reference

NVIDIA PhysX SDK 3.4 API

PxContactPairVelocity Struct Reference
[Physics]

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

#include <PxSimulationEventCallback.h>

Inheritance diagram for PxContactPairVelocity:
Collaboration diagram for PxContactPairVelocity:

List of all members.


Public Member Functions

PX_FORCE_INLINE PxContactPairVelocity ()

Public Attributes

PxVec3 linearVelocity [2]
 The linear velocity of the rigid bodies.
PxVec3 angularVelocity [2]
 The angular velocity of the rigid bodies.

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

The angular velocity of the rigid bodies.

The linear velocity of the rigid bodies.


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



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