PxVehicleLegacyTireComponent

Defined in include/vehicle2/tire/PxVehicleTireComponents.h

class PxVehicleLegacyTireComponent : public PxVehicleComponent

Deprecated:

This API was introduced with the new Vehicle API for transition purposes but will be removed in a future version.

Public Functions

inline PxVehicleLegacyTireComponent()
inline virtual ~PxVehicleLegacyTireComponent()
virtual void getDataForLegacyTireComponent(const PxVehicleAxleDescription *&axleDescription, PxVehicleArrayData<const PxReal> &steerResponseStates, const PxVehicleRigidBodyState *&rigidBodyState, PxVehicleArrayData<const PxVehicleWheelActuationState> &actuationStates, PxVehicleArrayData<const PxVehicleWheelParams> &wheelParams, PxVehicleArrayData<const PxVehicleSuspensionParams> &suspensionParams, PxVehicleArrayData<const PxVehicleTireForceParams> &tireForceParams, PxVehicleArrayData<const PxVehicleRoadGeometryState> &roadGeomStates, PxVehicleArrayData<const PxVehicleSuspensionState> &suspensionStates, PxVehicleArrayData<const PxVehicleSuspensionComplianceState> &suspensionComplianceStates, PxVehicleArrayData<const PxVehicleSuspensionForce> &suspensionForces, PxVehicleArrayData<const PxVehicleWheelRigidBody1dState> &wheelRigidBody1DStates, PxVehicleArrayData<PxVehicleTireGripState> &tireGripStates, PxVehicleArrayData<PxVehicleTireDirectionState> &tireDirectionStates, PxVehicleArrayData<PxVehicleTireSpeedState> &tireSpeedStates, PxVehicleArrayData<PxVehicleTireSlipState> &tireSlipStates, PxVehicleArrayData<PxVehicleTireCamberAngleState> &tireCamberAngleStates, PxVehicleArrayData<PxVehicleTireStickyState> &tireStickyStates, PxVehicleArrayData<PxVehicleTireForce> &tireForces) = 0
inline virtual bool update(const PxReal dt, const PxVehicleSimulationContext &context)

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.