a table of function pointers for a constraint
More...
#include <PxConstraint.h>
|
| enum | Enum {
eBROKEN = 1<<0,
ePROJECT_TO_ACTOR0 = 1<<1,
ePROJECT_TO_ACTOR1 = 1<<2,
ePROJECTION = ePROJECT_TO_ACTOR0 | ePROJECT_TO_ACTOR1,
eCOLLISION_ENABLED = 1<<3,
eVISUALIZATION = 1<<4,
eDRIVE_LIMITS_ARE_FORCES = 1<<5,
eIMPROVED_SLERP = 1<<7,
eDISABLE_PREPROCESSING = 1<<8,
eENABLE_EXTENDED_LIMITS = 1<<9,
eGPU_COMPATIBLE = 1<<10
} |
| |
a table of function pointers for a constraint
- See also
- PxConstraint constraint flags
- Note
- eBROKEN is a read only flag
◆ Enum
| Enumerator |
|---|
| eBROKEN | whether the constraint is broken
|
| ePROJECT_TO_ACTOR0 | whether actor1 should get projected to actor0 for this constraint (note: projection of a static/kinematic actor to a dynamic actor will be ignored)
|
| ePROJECT_TO_ACTOR1 | whether actor0 should get projected to actor1 for this constraint (note: projection of a static/kinematic actor to a dynamic actor will be ignored)
|
| ePROJECTION | whether the actors should get projected for this constraint (the direction will be chosen by PhysX)
|
| eCOLLISION_ENABLED | whether contacts should be generated between the objects this constraint constrains
|
| eVISUALIZATION | whether this constraint should be visualized, if constraint visualization is turned on
|
| eDRIVE_LIMITS_ARE_FORCES | limits for drive strength are forces rather than impulses
|
| 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)
|
| eDISABLE_PREPROCESSING | suppress constraint preprocessing, intended for use with rowResponseThreshold. May result in worse solver accuracy for ill-conditioned constraints.
|
| eENABLE_EXTENDED_LIMITS | enables extended limit ranges for angular limits (e.g. limit values > PxPi or < -PxPi)
|
| eGPU_COMPATIBLE | the constraint type is supported by gpu dynamic
|
The documentation for this struct was generated from the following file: