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

Determine the actuation state for each wheel for a vehicle propelled by engine torque. More...

#include <PxVehicleDrivetrainComponents.h>

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

Public Member Functions

virtual void getDataForEngineDriveActuationStateComponent (const PxVehicleAxleDescription *&axleDescription, const PxVehicleGearboxParams *&gearboxParams, PxVehicleArrayData< const PxReal > &brakeResponseStates, const PxVehicleEngineDriveThrottleCommandResponseState *&throttleResponseState, const PxVehicleGearboxState *&gearboxState, const PxVehicleDifferentialState *&differentialState, const PxVehicleClutchCommandResponseState *&clutchResponseState, PxVehicleArrayData< PxVehicleWheelActuationState > &actuationStates)=0
 
virtual bool update (const PxReal dt, const PxVehicleSimulationContext &context)
 Update function for a vehicle component.
 

Detailed Description

Determine the actuation state for each wheel for a vehicle propelled by engine torque.

Note
The actuation state for each wheel contains a binary record of whether brake and drive torque are to be applied to the wheel.
See also
PxVehicleEngineDriveActuationStateUpdate

Member Function Documentation

◆ update()

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