PxConstraintFlag

Defined in include/PxConstraint.h

struct PxConstraintFlag

constraint flags

Note

eBROKEN is a read only flag

Public Types

enum Enum

Values:

enumerator eBROKEN

whether the constraint is broken

enumerator eCOLLISION_ENABLED

whether contacts should be generated between the objects this constraint constrains

enumerator eVISUALIZATION

whether this constraint should be visualized, if constraint visualization is turned on

enumerator eDRIVE_LIMITS_ARE_FORCES

limits for drive strength are forces rather than impulses

enumerator eIMPROVED_SLERP

perform preprocessing for improved accuracy on D6 Slerp Drive (this flag will be removed in a future release when preprocessing is no longer required)

enumerator eDISABLE_PREPROCESSING

suppress constraint preprocessing, intended for use with rowResponseThreshold. May result in worse solver accuracy for ill-conditioned constraints.

enumerator eENABLE_EXTENDED_LIMITS

enables extended limit ranges for angular limits (e.g., limit values > PxPi or < -PxPi)

enumerator eGPU_COMPATIBLE

please do not raise this flag as it is for internal use only

enumerator eALWAYS_UPDATE

updates the constraint each frame

enumerator eDISABLE_CONSTRAINT

disables the constraint. SolverPrep functions won’t be called for this constraint.