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

Compute the per wheel drive torque split of a multi-wheel drive differential. More...

#include <PxVehicleDrivetrainComponents.h>

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

Public Member Functions

virtual void getDataForMultiWheelDriveDifferentialStateComponent (const PxVehicleAxleDescription *&axleDescription, const PxVehicleMultiWheelDriveDifferentialParams *&differentialParams, PxVehicleDifferentialState *&differentialState)=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 multi-wheel drive differential.

See also
PxVehicleDifferentialStateUpdate

Member Function Documentation

◆ update()

virtual bool physx::vehicle2::PxVehicleMultiWheelDriveDifferentialStateComponent::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: