PxVehiclePhysXConstraints
Defined in include/vehicle2/physxConstraints/PxVehiclePhysXConstraintStates.h
-
struct PxVehiclePhysXConstraints
A mapping between constraint state data and the associated PxConstraint instances.
Public Functions
-
inline void setToDefault()
Public Members
-
PxVehiclePhysXConstraintState constraintStates[PxVehicleLimits::eMAX_NB_WHEELS]
PxVehiclePhysXConstraintComponent writes to the constraintStates array and a callback invoked by PxScene::simulate() reads a portion from it for a block of wheels and writes that portion to an associated PxConstraint instance.
-
PxConstraint *constraints[PxVehiclePhysXConstraintLimits::eNB_CONSTRAINTS_PER_VEHICLE]
PxVehiclePhysXConstraintComponent writes to the constraintStates array and a callback invoked by PxScene::simulate() reads a portion from it for a block of wheels and writes that portion to an associated PxConstraint instance.
-
PxVehicleConstraintConnector *constraintConnectors[PxVehiclePhysXConstraintLimits::eNB_CONSTRAINTS_PER_VEHICLE]
A constraint connector is necessary to connect each PxConstraint to a portion of the constraintStates array.
-
inline void setToDefault()