RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleComponent Class Referenceabstract
Inheritance diagram for physx::vehicle2::PxVehicleComponent:
[legend]

Public Member Functions

virtual bool update (const PxReal dt, const PxVehicleSimulationContext &context)=0
 Update function for a vehicle component.
 

Member Function Documentation

◆ update()

virtual bool physx::vehicle2::PxVehicleComponent::update ( const PxReal  dt,
const PxVehicleSimulationContext &  context 
)
pure virtual

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

Implemented in physx::vehicle2::PxVehicleDirectDriveCommandResponseComponent, physx::vehicle2::PxVehicleDirectDriveActuationStateComponent, physx::vehicle2::PxVehicleDirectDrivetrainComponent, physx::vehicle2::PxVehicleEngineDriveCommandResponseComponent, physx::vehicle2::PxVehicleMultiWheelDriveDifferentialStateComponent, physx::vehicle2::PxVehicleFourWheelDriveDifferentialStateComponent, physx::vehicle2::PxVehicleTankDriveDifferentialStateComponent, physx::vehicle2::PxVehicleLegacyFourWheelDriveDifferentialStateComponent, physx::vehicle2::PxVehicleEngineDriveActuationStateComponent, physx::vehicle2::PxVehicleEngineDrivetrainComponent, physx::vehicle2::PxVehiclePhysXActorBeginComponent, physx::vehicle2::PxVehiclePhysXActorEndComponent, physx::vehicle2::PxVehiclePhysXConstraintComponent, physx::vehicle2::PxVehiclePhysXRoadGeometrySceneQueryComponent, physx::vehicle2::PxVehiclePVDComponent, physx::vehicle2::PxVehicleRigidBodyComponent, physx::vehicle2::PxVehicleSuspensionComponent, physx::vehicle2::PxVehicleLegacySuspensionComponent, physx::vehicle2::PxVehicleTireComponent, physx::vehicle2::PxVehicleLegacyTireComponent, physx::vehicle2::PxVehicleWheelComponent, and snippetvehicle2::CustomSuspensionComponent.


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