constraint row flags
More...
#include <PxConstraintDesc.h>
constraint row flags
These flags configure the post-processing of constraint rows and the behavior of the solver while solving constraints
◆ Type
Enumerator |
---|
eSPRING | whether the constraint is a spring. Mutually exclusive with eRESTITUTION. If set, eKEEPBIAS is ignored.
|
eACCELERATION_SPRING | whether the constraint is a force or acceleration spring. Only valid if eSPRING is set.
|
eRESTITUTION | whether the restitution model should be applied to generate the target velocity. Mutually exclusive with eSPRING. If restitution causes a bounces, eKEEPBIAS is ignored
|
eKEEPBIAS | whether to keep the error term when solving for velocity. Ignored if restitution generates bounce, or eSPRING is set.
|
eOUTPUT_FORCE | whether to accumulate the force value from this constraint in the force total that is reported for the constraint and tested for breakage
|
eHAS_DRIVE_LIMIT | whether the constraint has a drive force limit (which will be scaled by dt unless PxConstraintFlag::eLIMITS_ARE_FORCES is set)
|
eANGULAR_CONSTRAINT | Whether this is an angular or linear constraint.
|
eDRIVE_ROW | |
◆ Px1DConstraintFlag()
The documentation for this struct was generated from the following file: