Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainComponents.h

Inheritance Relationships

Base Type

class PxVehicleFourWheelDriveDifferentialStateComponent : public PxVehicleComponent

Compute the per wheel drive torque split of a differential delivering torque to multiple wheels with limited slip applied to specified wheel pairs.

Public Functions

inline PxVehicleFourWheelDriveDifferentialStateComponent()
inline virtual ~PxVehicleFourWheelDriveDifferentialStateComponent()
virtual void getDataForFourWheelDriveDifferentialStateComponent(const PxVehicleAxleDescription *&axleDescription, const PxVehicleFourWheelDriveDifferentialParams *&differentialParams, PxVehicleArrayData<const PxVehicleWheelRigidBody1dState> &wheelRigidbody1dStates, PxVehicleDifferentialState *&differentialState, PxVehicleWheelConstraintGroupState *&wheelConstraintGroupState) = 0
inline virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context)

Update function for a vehicle component.

  • dt[in] The timestep size to use for the update step.

  • context[in] Vehicle simulation context holding global data or data that usually applies to a large group of vehicles.


True if subsequent components in a sequence should get updated, false if the sequence should be aborted.