|
RavEngine
|
Public Member Functions | |
| PxVehicleGearsData (const PxEMPTY) | |
| PxReal | getGearRatio (PxVehicleGearsData::Enum a) const |
| void | setGearRatio (PxVehicleGearsData::Enum a, PxReal ratio) |
Public Attributes | |
| PxReal | mRatios [PxVehicleGearsData::eGEARSRATIO_COUNT] |
| Gear ratios. | |
| PxReal | mFinalRatio |
| Gear ratio applied is mRatios[currentGear]*finalRatio. | |
| PxU32 | mNbRatios |
| Number of gears (including reverse and neutral). | |
| PxReal | mSwitchTime |
| Time it takes to switch gear. | |
Friends | |
| class | PxVehicleDriveSimData |
| PxReal physx::PxVehicleGearsData::mFinalRatio |
Gear ratio applied is mRatios[currentGear]*finalRatio.
Range: [0, PX_MAX_F32)
| PxU32 physx::PxVehicleGearsData::mNbRatios |
Number of gears (including reverse and neutral).
Range: (0, MAX_NB_GEAR_RATIOS)
| PxReal physx::PxVehicleGearsData::mRatios[PxVehicleGearsData::eGEARSRATIO_COUNT] |
Gear ratios.
Range: [0, PX_MAX_F32)
| PxReal physx::PxVehicleGearsData::mSwitchTime |