PxVehicleComponent
Defined in include/vehicle2/PxVehicleComponent.h
-
class PxVehicleComponent
Subclassed by PxVehicleDirectDriveActuationStateComponent, PxVehicleDirectDriveCommandResponseComponent, PxVehicleDirectDrivetrainComponent, PxVehicleEngineDriveActuationStateComponent, PxVehicleEngineDriveCommandResponseComponent, PxVehicleEngineDrivetrainComponent, PxVehicleFourWheelDriveDifferentialStateComponent, PxVehicleLegacyFourWheelDriveDifferentialStateComponent, PxVehicleLegacySuspensionComponent, PxVehicleLegacyTireComponent, PxVehicleMultiWheelDriveDifferentialStateComponent, PxVehiclePVDComponent, PxVehiclePhysXActorBeginComponent, PxVehiclePhysXActorEndComponent, PxVehiclePhysXConstraintComponent, PxVehiclePhysXRoadGeometrySceneQueryComponent, 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.
See also
PxVehicleComponentSequence
- 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.
-
inline virtual ~PxVehicleComponent()