#include <PxVehicleComponents.h>
◆ anonymous enum
Enumerator |
---|
eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES | |
◆ PxVehicleEngineData() [1/2]
PxVehicleEngineData::PxVehicleEngineData |
( |
| ) |
|
|
inline |
◆ PxVehicleEngineData() [2/2]
PxVehicleEngineData::PxVehicleEngineData |
( |
const PxEMPTY |
| ) |
|
|
inline |
◆ getRecipMaxOmega()
◆ getRecipMOI()
◆ isValid()
bool PxVehicleEngineData::isValid |
( |
| ) |
const |
|
private |
◆ PxVehicleDriveSimData
◆ mDampingRateFullThrottle
PxReal PxVehicleEngineData::mDampingRateFullThrottle |
Damping rate of engine when full throttle is applied.
- Note
- If the clutch is engaged (any gear except neutral) then the damping rate applied at run-time is an interpolation between mDampingRateZeroThrottleClutchEngaged and mDampingRateFullThrottle: mDampingRateZeroThrottleClutchEngaged + (mDampingRateFullThrottle-mDampingRateZeroThrottleClutchEngaged)*acceleratorPedal;
-
If the clutch is disengaged (in neutral gear) the damping rate applied at run-time is an interpolation between mDampingRateZeroThrottleClutchDisengaged and mDampingRateFullThrottle: mDampingRateZeroThrottleClutchDisengaged + (mDampingRateFullThrottle-mDampingRateZeroThrottleClutchDisengaged)*acceleratorPedal;
-
Specified in kilograms metres-squared per second (kg m^2 s^-1).
Range: [0, PX_MAX_F32)
◆ mDampingRateZeroThrottleClutchDisengaged
PxReal PxVehicleEngineData::mDampingRateZeroThrottleClutchDisengaged |
Damping rate of engine when full throttle is applied.
- Note
- If the clutch is engaged (any gear except neutral) then the damping rate applied at run-time is an interpolation between mDampingRateZeroThrottleClutchEngaged and mDampingRateFullThrottle: mDampingRateZeroThrottleClutchEngaged + (mDampingRateFullThrottle-mDampingRateZeroThrottleClutchEngaged)*acceleratorPedal;
-
If the clutch is disengaged (in neutral gear) the damping rate applied at run-time is an interpolation between mDampingRateZeroThrottleClutchDisengaged and mDampingRateFullThrottle: mDampingRateZeroThrottleClutchDisengaged + (mDampingRateFullThrottle-mDampingRateZeroThrottleClutchDisengaged)*acceleratorPedal;
-
Specified in kilograms metres-squared per second (kg m^2 s^-1).
Range: [0, PX_MAX_F32)
◆ mDampingRateZeroThrottleClutchEngaged
PxReal PxVehicleEngineData::mDampingRateZeroThrottleClutchEngaged |
Damping rate of engine when full throttle is applied.
- Note
- If the clutch is engaged (any gear except neutral) then the damping rate applied at run-time is an interpolation between mDampingRateZeroThrottleClutchEngaged and mDampingRateFullThrottle: mDampingRateZeroThrottleClutchEngaged + (mDampingRateFullThrottle-mDampingRateZeroThrottleClutchEngaged)*acceleratorPedal;
-
If the clutch is disengaged (in neutral gear) the damping rate applied at run-time is an interpolation between mDampingRateZeroThrottleClutchDisengaged and mDampingRateFullThrottle: mDampingRateZeroThrottleClutchDisengaged + (mDampingRateFullThrottle-mDampingRateZeroThrottleClutchDisengaged)*acceleratorPedal;
-
Specified in kilograms metres-squared per second (kg m^2 s^-1).
Range: [0, PX_MAX_F32)
◆ mMaxOmega
PxReal PxVehicleEngineData::mMaxOmega |
Maximum rotation speed of the engine.
- Note
- Specified in radians per second (s^-1).
Range: [0, PX_MAX_F32)
◆ mMOI
PxReal PxVehicleEngineData::mMOI |
Moment of inertia of the engine around the axis of rotation.
- Note
- Specified in kilograms metres-squared (kg m^2)
◆ mPeakTorque
PxReal PxVehicleEngineData::mPeakTorque |
Maximum torque available to apply to the engine when the accelerator pedal is at maximum.
- Note
- The torque available is the value of the accelerator pedal (in range [0, 1]) multiplied by the normalized torque as computed from mTorqueCurve multiplied by mPeakTorque.
-
Specified in kilograms metres-squared per second-squared (kg m^2 s^-2).
Range: [0, PX_MAX_F32)
◆ mRecipMaxOmega
PxReal PxVehicleEngineData::mRecipMaxOmega |
|
private |
◆ mRecipMOI
PxReal PxVehicleEngineData::mRecipMOI |
|
private |
◆ mTorqueCurve
Graph of normalized torque (torque/mPeakTorque) against normalized engine speed ( engineRotationSpeed / mMaxOmega ).
- Note
- The normalized engine speed is the x-axis of the graph, while the normalized torque is the y-axis of the graph.
The documentation for this class was generated from the following file: