RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleFourWheelDriveDifferentialStateComponent Class Referenceabstract

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

#include <PxVehicleDrivetrainComponents.h>

Inheritance diagram for physx::vehicle2::PxVehicleFourWheelDriveDifferentialStateComponent:
[legend]
Collaboration diagram for physx::vehicle2::PxVehicleFourWheelDriveDifferentialStateComponent:
[legend]

Public Member Functions

virtual void getDataForFourWheelDriveDifferentialStateComponent (const PxVehicleAxleDescription *&axleDescription, const PxVehicleFourWheelDriveDifferentialParams *&differentialParams, PxVehicleArrayData< const PxVehicleWheelRigidBody1dState > &wheelRigidbody1dStates, PxVehicleDifferentialState *&differentialState, PxVehicleWheelConstraintGroupState *&wheelConstraintGroupState)=0
 
virtual bool update (const PxReal dt, const PxVehicleSimulationContext &context)
 Update function for a vehicle component.
 

Detailed Description

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

See also
PxVehicleDifferentialStateUpdate

Member Function Documentation

◆ update()

virtual bool physx::vehicle2::PxVehicleFourWheelDriveDifferentialStateComponent::update ( const PxReal  dt,
const PxVehicleSimulationContext &  context 
)
inlinevirtual

Update function for a vehicle component.

Parameters
[in]dtThe timestep size to use for the update step.
[in]contextVehicle simulation context holding global data or data that usually applies to a large group of vehicles.
Returns
True if subsequent components in a sequence should get updated, false if the sequence should be aborted.
See also
PxVehicleComponentSequence

Implements physx::vehicle2::PxVehicleComponent.


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