|
RavEngine
|
Constraint descriptor used inside the solver. More...
#include <PxSolverDefs.h>
Public Types | |
| enum | ConstraintType { eCONTACT_CONSTRAINT , eJOINT_CONSTRAINT } |
Public Attributes | ||
| union { | ||
| PxSolverBody * bodyA | ||
| bodyA pointer | ||
| PxTGSSolverBodyVel * tgsBodyA | ||
| bodyA pointer | ||
| void * articulationA | ||
| Articulation pointer for body A. | ||
| }; | ||
| union { | ||
| PxSolverBody * bodyB | ||
| BodyB pointer. | ||
| PxTGSSolverBodyVel * tgsBodyB | ||
| BodyB pointer. | ||
| void * articulationB | ||
| Articulation pointer for body B. | ||
| }; | ||
| PxU32 | bodyADataIndex | |
| Body A's index into the SolverBodyData array. | ||
| PxU32 | bodyBDataIndex | |
| Body B's index into the SolverBodyData array. | ||
| PxU32 | linkIndexA | |
| Link index defining which link in Articulation A this constraint affects. If not an articulation, must be NO_LINK. | ||
| PxU32 | linkIndexB | |
| Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK. | ||
| PxU8 * | constraint | |
| Pointer to the constraint rows to be solved. | ||
| void * | writeBack | |
| Pointer to the writeback structure results for this given constraint are to be written to. | ||
| PxU16 | progressA | |
| Internal progress counter. | ||
| PxU16 | progressB | |
| Internal progress counter. | ||
| PxU16 | constraintLengthOver16 | |
| constraintLength/16, max constraint length is 1MB, allows PxSolverConstraintDesc to fit in 32 bytes | ||
| PxU8 | padding [10] | |
Static Public Attributes | |
| static const PxU16 | RIGID_BODY = 0xffff |
Constraint descriptor used inside the solver.