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 ePROJECT_TO_ACTOR0

Deprecated:

whether actor1 should get projected to actor0 for this constraint (note: projection of a static/kinematic actor to a dynamic actor will be ignored)

enumerator ePROJECT_TO_ACTOR1

Deprecated:

whether actor0 should get projected to actor1 for this constraint (note: projection of a static/kinematic actor to a dynamic actor will be ignored)

enumerator ePROJECTION

Deprecated:

whether the actors should get projected for this constraint (the direction will be chosen by PhysX)

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

the constraint type is supported by gpu dynamics

enumerator eALWAYS_UPDATE

updates the constraint each frame

enumerator eDISABLE_CONSTRAINT

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