PxSolverConstraintPrepDesc Struct Reference

#include <PxSolverDefs.h>

Inheritance diagram for PxSolverConstraintPrepDesc:
Collaboration diagram for PxSolverConstraintPrepDesc:

Public Member Functions

 PX_ALIGN (16, Px1DConstraint *rows)
 The start of the constraint rows. More...
 

Public Attributes

PxU32 numRows
 The number of rows. More...
 
PxReal linBreakForce
 
PxReal angBreakForce
 Break forces. More...
 
PxReal minResponseThreshold
 The minimum response threshold. More...
 
void * writeback
 Pointer to constraint writeback structure. Reports back joint breaking. If not required, set to NULL. More...
 
bool disablePreprocessing
 Disable joint pre-processing. Pre-processing can improve stability but under certain circumstances, e.g. when some invInertia rows are zero/almost zero, can cause instabilities. More...
 
bool improvedSlerp
 Use improved slerp model. More...
 
bool driveLimitsAreForces
 Indicates whether drive limits are forces. More...
 
bool extendedLimits
 Indicates whether we want to use extended limits. More...
 
PxVec3 body0WorldOffset
 Body0 world offset. More...
 
- Public Attributes inherited from PxSolverConstraintPrepDescBase
PxConstraintInvMassScale invMassScales
 In: The local mass scaling for this pair. More...
 
PxSolverConstraintDescdesc
 Output: The PxSolverConstraintDesc filled in by contact prep. More...
 
const PxSolverBodybody0
 In: The first body. Stores velocity information. Unused unless contact involves articulations. More...
 
const PxSolverBodybody1
 In: The second body. Stores velocity information. Unused unless contact involves articulations. More...
 
const PxSolverBodyDatadata0
 In: The first PxSolverBodyData. Stores mass and miscellaneous information for the first body. More...
 
const PxSolverBodyDatadata1
 In: The second PxSolverBodyData. Stores mass and miscellaneous information for the second body. More...
 
PxTransform bodyFrame0
 In: The world-space transform of the first body. More...
 
PxTransform bodyFrame1
 In: The world-space transform of the second body. More...
 
BodyState bodyState0
 In: Defines what kind of actor the first body is. More...
 
BodyState bodyState1
 In: Defines what kind of actor the second body is. More...
 

Additional Inherited Members

- Public Types inherited from PxSolverConstraintPrepDescBase
enum  BodyState { eDYNAMIC_BODY = 1 << 0, eSTATIC_BODY = 1 << 1, eKINEMATIC_BODY = 1 << 2, eARTICULATION = 1 << 3 }
 

Member Function Documentation

◆ PX_ALIGN()

PxSolverConstraintPrepDesc::PX_ALIGN ( 16  ,
Px1DConstraint rows 
)

The start of the constraint rows.

Member Data Documentation

◆ angBreakForce

PxReal PxSolverConstraintPrepDesc::angBreakForce

Break forces.

◆ body0WorldOffset

PxVec3 PxSolverConstraintPrepDesc::body0WorldOffset

Body0 world offset.

◆ disablePreprocessing

bool PxSolverConstraintPrepDesc::disablePreprocessing

Disable joint pre-processing. Pre-processing can improve stability but under certain circumstances, e.g. when some invInertia rows are zero/almost zero, can cause instabilities.

◆ driveLimitsAreForces

bool PxSolverConstraintPrepDesc::driveLimitsAreForces

Indicates whether drive limits are forces.

◆ extendedLimits

bool PxSolverConstraintPrepDesc::extendedLimits

Indicates whether we want to use extended limits.

◆ improvedSlerp

bool PxSolverConstraintPrepDesc::improvedSlerp

Use improved slerp model.

◆ linBreakForce

PxReal PxSolverConstraintPrepDesc::linBreakForce

◆ minResponseThreshold

PxReal PxSolverConstraintPrepDesc::minResponseThreshold

The minimum response threshold.

◆ numRows

PxU32 PxSolverConstraintPrepDesc::numRows

The number of rows.

◆ writeback

void* PxSolverConstraintPrepDesc::writeback

Pointer to constraint writeback structure. Reports back joint breaking. If not required, set to NULL.


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