PxSolverBodyData Struct Reference

#include <PxSolverDefs.h>

Collaboration diagram for PxSolverBodyData:

Public Member Functions

 PX_ALIGN (16, PxVec3 linearVelocity)
 12 Pre-solver linear velocity More...
 
PX_FORCE_INLINE PxReal projectVelocity (const PxVec3 &lin, const PxVec3 &ang) const
 

Public Attributes

PxReal invMass
 16 inverse mass More...
 
PxVec3 angularVelocity
 28 Pre-solver angular velocity More...
 
PxReal reportThreshold
 32 contact force threshold More...
 
PxMat33 sqrtInvInertia
 68 inverse inertia in world space More...
 
PxReal penBiasClamp
 72 the penetration bias clamp More...
 
PxU32 nodeIndex
 76 the node idx of this solverBodyData. Used by solver to reference between solver bodies and island bodies. Not required by immediate mode More...
 
PxReal maxContactImpulse
 80 the max contact impulse More...
 
PxTransform body2World
 108 the body's transform More...
 
PxU16 lockFlags
 110 lock flags More...
 
PxU16 pad
 112 pad More...
 

Member Function Documentation

◆ projectVelocity()

PX_FORCE_INLINE PxReal PxSolverBodyData::projectVelocity ( const PxVec3 lin,
const PxVec3 ang 
) const
inline

References PxVec3::dot().

◆ PX_ALIGN()

PxSolverBodyData::PX_ALIGN ( 16  ,
PxVec3  linearVelocity 
)

12 Pre-solver linear velocity

Member Data Documentation

◆ angularVelocity

PxVec3 PxSolverBodyData::angularVelocity

28 Pre-solver angular velocity

◆ body2World

PxTransform PxSolverBodyData::body2World

108 the body's transform

◆ invMass

PxReal PxSolverBodyData::invMass

16 inverse mass

◆ lockFlags

PxU16 PxSolverBodyData::lockFlags

110 lock flags

◆ maxContactImpulse

PxReal PxSolverBodyData::maxContactImpulse

80 the max contact impulse

◆ nodeIndex

PxU32 PxSolverBodyData::nodeIndex

76 the node idx of this solverBodyData. Used by solver to reference between solver bodies and island bodies. Not required by immediate mode

◆ pad

PxU16 PxSolverBodyData::pad

112 pad

◆ penBiasClamp

PxReal PxSolverBodyData::penBiasClamp

72 the penetration bias clamp

◆ reportThreshold

PxReal PxSolverBodyData::reportThreshold

32 contact force threshold

◆ sqrtInvInertia

PxMat33 PxSolverBodyData::sqrtInvInertia

68 inverse inertia in world space


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