|
RavEngine
|
constraint flags More...
#include <PxConstraint.h>
Public Types | |
| 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 , eALWAYS_UPDATE = 1<<11 , eDISABLE_CONSTRAINT = 1<<12 } |
constraint flags
| Enumerator | |
|---|---|
| eBROKEN | whether the constraint is broken |
| ePROJECT_TO_ACTOR0 |
|
| ePROJECT_TO_ACTOR1 |
|
| ePROJECTION |
|
| 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 dynamics |
| eALWAYS_UPDATE | updates the constraint each frame |
| eDISABLE_CONSTRAINT | disables the constraint. SolverPrep functions won't be called for this constraint. |