PxRigidBodyData#

Defined in include/PxImmediateMode.h

struct PxRigidBodyData#

Structure to store rigid body properties.

Public Members

PxVec3 linearVelocity#

12 Linear velocity

PxReal invMass#

16 Inverse mass

PxVec3 angularVelocity#

28 Angular velocity

PxReal maxDepenetrationVelocity#

32 Maximum de-penetration velocity

PxVec3 invInertia#

44 Mass-space inverse interia diagonal vector

PxReal maxContactImpulse#

48 Maximum permissable contact impulse

PxTransform body2World#

76 World space transform

PxReal linearDamping#

80 Linear damping coefficient

PxReal angularDamping#

84 Angular damping coefficient

PxReal maxLinearVelocitySq#

88 Squared maximum linear velocity

PxReal maxAngularVelocitySq#

92 Squared maximum angular velocity

PxU32 pad#

96 Padding for 16-byte alignment