|
RavEngine
|
Public Member Functions | |
| PX_FORCE_INLINE PxVehicleAutoboxParams | transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const |
| PX_FORCE_INLINE bool | isValid (const PxVehicleGearboxParams &gearboxParams) const |
Public Attributes | |
| PxReal | upRatios [PxVehicleGearboxParams::eMAX_NB_GEARS] |
| Value of ( engineRotationSpeed /maxEngineRevs ) that is high enough to increment gear. | |
| PxReal | downRatios [PxVehicleGearboxParams::eMAX_NB_GEARS] |
| Value of engineRevs/maxEngineRevs that is low enough to decrement gear. | |
| PxReal | latency |
| Set the latency time of the autobox. | |
| PxReal physx::vehicle2::PxVehicleAutoboxParams::downRatios[PxVehicleGearboxParams::eMAX_NB_GEARS] |
Value of engineRevs/maxEngineRevs that is low enough to decrement gear.
Range: [0, 1]
| PxReal physx::vehicle2::PxVehicleAutoboxParams::latency |
Set the latency time of the autobox.
Range: [0, inf)
Unit: time
| PxReal physx::vehicle2::PxVehicleAutoboxParams::upRatios[PxVehicleGearboxParams::eMAX_NB_GEARS] |
Value of ( engineRotationSpeed /maxEngineRevs ) that is high enough to increment gear.
Range: [0, 1]