#include <PxVehicleComponents.h>
PxVehicleAutoBoxData::PxVehicleAutoBoxData |
( |
| ) |
|
|
inline |
PxVehicleAutoBoxData::PxVehicleAutoBoxData |
( |
const PxEMPTY & |
| ) |
|
|
inline |
PxReal PxVehicleAutoBoxData::getLatency |
( |
| ) |
const |
|
inline |
bool PxVehicleAutoBoxData::isValid |
( |
| ) |
const |
|
private |
void PxVehicleAutoBoxData::setLatency |
( |
const PxReal |
latency | ) |
|
|
inline |
Set the latency time of the autobox.
- Note
- Latency time is the minimum time that must pass between each gear change that is initiated by the autobox. The auto-box will only attempt to initiate another gear change up or down if the simulation time that has passed since the most recent automated gear change is greater than the specified latency.
-
Specified in seconds (s).
- See Also
- getLatency
References PxVehicleGearsData::eREVERSE.
Value of engineRevs/maxEngineRevs that is low enough to decrement gear.
- Note
- When ( engineRotationSpeed / PxVehicleEngineData::mMaxOmega ) < mDownRatios[currentGear] the autobox will begin a transition to currentGear-1 unless currentGear is first gear or neutral or reverse.
Range: [0, 1]
Value of ( engineRotationSpeed / PxVehicleEngineData::mMaxOmega ) that is high enough to increment gear.
- Note
- When ( engineRotationSpeed / PxVehicleEngineData::mMaxOmega ) > mUpRatios[currentGear] the autobox will begin a transition to currentGear+1 unless currentGear is the highest possible gear or neutral or reverse.
Range: [0, 1]
The documentation for this class was generated from the following file: