PxSolverConstraintDesc Struct Reference

#include <PxSolverDefs.h>

Collaboration diagram for PxSolverConstraintDesc:

Public Types

enum  ConstraintType { eCONTACT_CONSTRAINT, eJOINT_CONSTRAINT }
 

Public Attributes

union {
   PxSolverBody *   bodyA
 bodyA pointer More...
 
   PxTGSSolverBodyVel *   tgsBodyA
 bodyA pointer More...
 
   Dy::ArticulationV *   articulationA
 Articulation pointer for body A. More...
 
}; 
 
union {
   PxSolverBody *   bodyB
 BodyB pointer. More...
 
   PxTGSSolverBodyVel *   tgsBodyB
 BodyB pointer. More...
 
   Dy::ArticulationV *   articulationB
 Articulation pointer for body B. More...
 
}; 
 
PxU16 linkIndexA
 Link index defining which link in Articulation A this constraint affects. If not an articulation, must be NO_LINK. More...
 
PxU16 linkIndexB
 Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK. More...
 
PxU32 bodyADataIndex
 Body A's index into the SolverBodyData array. More...
 
PxU32 bodyBDataIndex
 Body B's index into the SolverBodyData array. More...
 
PxU16 writeBackLengthOver4
 writeBackLength/4, max writeback length is 256K, allows PxSolverConstraintDesc to fit in 32 bytes More...
 
PxU16 constraintLengthOver16
 constraintLength/16, max constraint length is 1MB, allows PxSolverConstraintDesc to fit in 32 bytes More...
 
PxU8 * constraint
 Pointer to the constraint rows to be solved. More...
 
void * writeBack
 Pointer to the writeback structure results for this given constraint are to be written to. More...
 

Static Public Attributes

static const PxU16 NO_LINK = 0xffff
 

Member Enumeration Documentation

◆ ConstraintType

Enumerator
eCONTACT_CONSTRAINT 

Defines this pair is a contact constraint.

eJOINT_CONSTRAINT 

Defines this pair is a joint constraint.

Member Data Documentation

◆ @10

union { ... }

◆ @8

union { ... }

◆ articulationA

Dy::ArticulationV* PxSolverConstraintDesc::articulationA

Articulation pointer for body A.

◆ articulationB

Dy::ArticulationV* PxSolverConstraintDesc::articulationB

Articulation pointer for body B.

◆ bodyA

PxSolverBody* PxSolverConstraintDesc::bodyA

bodyA pointer

◆ bodyADataIndex

PxU32 PxSolverConstraintDesc::bodyADataIndex

Body A's index into the SolverBodyData array.

◆ bodyB

PxSolverBody* PxSolverConstraintDesc::bodyB

BodyB pointer.

◆ bodyBDataIndex

PxU32 PxSolverConstraintDesc::bodyBDataIndex

Body B's index into the SolverBodyData array.

◆ constraint

PxU8* PxSolverConstraintDesc::constraint

Pointer to the constraint rows to be solved.

◆ constraintLengthOver16

PxU16 PxSolverConstraintDesc::constraintLengthOver16

constraintLength/16, max constraint length is 1MB, allows PxSolverConstraintDesc to fit in 32 bytes

◆ linkIndexA

PxU16 PxSolverConstraintDesc::linkIndexA

Link index defining which link in Articulation A this constraint affects. If not an articulation, must be NO_LINK.

◆ linkIndexB

PxU16 PxSolverConstraintDesc::linkIndexB

Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK.

◆ NO_LINK

const PxU16 PxSolverConstraintDesc::NO_LINK = 0xffff
static

◆ tgsBodyA

PxTGSSolverBodyVel* PxSolverConstraintDesc::tgsBodyA

bodyA pointer

◆ tgsBodyB

PxTGSSolverBodyVel* PxSolverConstraintDesc::tgsBodyB

BodyB pointer.

◆ writeBack

void* PxSolverConstraintDesc::writeBack

Pointer to the writeback structure results for this given constraint are to be written to.

◆ writeBackLengthOver4

PxU16 PxSolverConstraintDesc::writeBackLengthOver4

writeBackLength/4, max writeback length is 256K, allows PxSolverConstraintDesc to fit in 32 bytes


The documentation for this struct was generated from the following file: