PxVehicleComponent

Defined in include/vehicle2/PxVehicleComponent.h

Inheritance Relationships

Derived Types

class PxVehicleComponent

Subclassed by PxVehicleDirectDriveActuationStateComponent, PxVehicleDirectDriveCommandResponseComponent, PxVehicleDirectDrivetrainComponent, PxVehicleEngineDriveActuationStateComponent, PxVehicleEngineDriveCommandResponseComponent, PxVehicleEngineDrivetrainComponent, PxVehicleFourWheelDriveDifferentialStateComponent, PxVehicleLegacyFourWheelDriveDifferentialStateComponent, PxVehicleLegacySuspensionComponent, PxVehicleLegacyTireComponent, PxVehicleMultiWheelDriveDifferentialStateComponent, PxVehiclePhysXActorBeginComponent, PxVehiclePhysXActorEndComponent, PxVehiclePhysXConstraintComponent, PxVehiclePhysXRoadGeometrySceneQueryComponent, PxVehiclePVDComponent, PxVehicleRigidBodyComponent, PxVehicleSuspensionComponent, PxVehicleTankDriveDifferentialStateComponent, PxVehicleTireComponent, PxVehicleWheelComponent

Public Functions

inline virtual ~PxVehicleComponent()
virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context) = 0

Update function for a vehicle component.

Parameters
  • 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.

Returns

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