|
RavEngine
|
Public Member Functions | |
| PX_FORCE_INLINE PxReal | getRecipMaxCompression () const |
| Reciprocal of maximum compression. | |
| PX_FORCE_INLINE PxReal | getRecipMaxDroop () const |
| Reciprocal of maximum droop. | |
| void | setMassAndPreserveNaturalFrequency (const PxReal newSprungMass) |
| Set a new sprung mass for the suspension and modify the spring strength so that the natural frequency of the spring is preserved. | |
Public Attributes | |
| PxReal | mSpringStrength |
| Spring strength of suspension unit. | |
| PxReal | mSpringDamperRate |
| Spring damper rate of suspension unit. | |
| PxReal | mMaxCompression |
| Maximum compression allowed by suspension spring. | |
| PxReal | mMaxDroop |
| Maximum elongation allowed by suspension spring. | |
| PxReal | mSprungMass |
| Mass of vehicle that is supported by suspension spring. | |
| PxReal | mCamberAtRest |
| Camber angle (in radians) of wheel when the suspension is at its rest position. | |
| PxReal | mCamberAtMaxCompression |
| Camber angle (in radians) of wheel when the suspension is at maximum compression. | |
| PxReal | mCamberAtMaxDroop |
| Camber angle (in radians) of wheel when the suspension is at maximum droop. | |
Friends | |
| class | PxVehicleWheels4SimData |
|
inline |
Reciprocal of maximum compression.
Range: [0, PX_MAX_F32)
|
inline |
Reciprocal of maximum droop.
Range: [0, PX_MAX_F32)
|
inline |
Set a new sprung mass for the suspension and modify the spring strength so that the natural frequency of the spring is preserved.
| [in] | newSprungMass | is the new mass that the suspension spring will support. |
| PxReal physx::PxVehicleSuspensionData::mCamberAtMaxCompression |
Camber angle (in radians) of wheel when the suspension is at maximum compression.
Range: [-pi/2, pi/2]
| PxReal physx::PxVehicleSuspensionData::mCamberAtMaxDroop |
Camber angle (in radians) of wheel when the suspension is at maximum droop.
Range: [-pi/2, pi/2]
| PxReal physx::PxVehicleSuspensionData::mCamberAtRest |
Camber angle (in radians) of wheel when the suspension is at its rest position.
Range: [-pi/2, pi/2]
| PxReal physx::PxVehicleSuspensionData::mMaxCompression |
Maximum compression allowed by suspension spring.
Range: [0, PX_MAX_F32)
| PxReal physx::PxVehicleSuspensionData::mMaxDroop |
Maximum elongation allowed by suspension spring.
Range: [0, PX_MAX_F32)
| PxReal physx::PxVehicleSuspensionData::mSpringDamperRate |
Spring damper rate of suspension unit.
Range: [0, PX_MAX_F32)
| PxReal physx::PxVehicleSuspensionData::mSpringStrength |
Spring strength of suspension unit.
Range: [0, PX_MAX_F32)
| PxReal physx::PxVehicleSuspensionData::mSprungMass |
Mass of vehicle that is supported by suspension spring.
Range: [0, PX_MAX_F32)