PxVehicleComponent
Defined in include/vehicle2/PxVehicleComponent.h
Inheritance Relationships
Derived Types
public PxVehicleDirectDriveActuationStateComponent
(PxVehicleDirectDriveActuationStateComponent)public PxVehicleDirectDriveCommandResponseComponent
(PxVehicleDirectDriveCommandResponseComponent)public PxVehicleDirectDrivetrainComponent
(PxVehicleDirectDrivetrainComponent)public PxVehicleEngineDriveActuationStateComponent
(PxVehicleEngineDriveActuationStateComponent)public PxVehicleEngineDriveCommandResponseComponent
(PxVehicleEngineDriveCommandResponseComponent)public PxVehicleEngineDrivetrainComponent
(PxVehicleEngineDrivetrainComponent)public PxVehicleFourWheelDriveDifferentialStateComponent
(PxVehicleFourWheelDriveDifferentialStateComponent)public PxVehicleLegacyFourWheelDriveDifferentialStateComponent
(PxVehicleLegacyFourWheelDriveDifferentialStateComponent)public PxVehicleLegacySuspensionComponent
(PxVehicleLegacySuspensionComponent)public PxVehicleLegacyTireComponent
(PxVehicleLegacyTireComponent)public PxVehicleMultiWheelDriveDifferentialStateComponent
(PxVehicleMultiWheelDriveDifferentialStateComponent)public PxVehiclePhysXActorBeginComponent
(PxVehiclePhysXActorBeginComponent)public PxVehiclePhysXActorEndComponent
(PxVehiclePhysXActorEndComponent)public PxVehiclePhysXConstraintComponent
(PxVehiclePhysXConstraintComponent)public PxVehiclePhysXRoadGeometrySceneQueryComponent
(PxVehiclePhysXRoadGeometrySceneQueryComponent)public PxVehiclePVDComponent
(PxVehiclePVDComponent)public PxVehicleRigidBodyComponent
(PxVehicleRigidBodyComponent)public PxVehicleSuspensionComponent
(PxVehicleSuspensionComponent)public PxVehicleTankDriveDifferentialStateComponent
(PxVehicleTankDriveDifferentialStateComponent)public PxVehicleTireComponent
(PxVehicleTireComponent)public PxVehicleWheelComponent
(PxVehicleWheelComponent)
-
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.
See also
- 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()