|
RavEngine
|
Suspension force is computed by converting suspenson state to suspension force under the assumption of a linear spring. More...
#include <PxVehicleSuspensionParams.h>
Public Member Functions | |
| PX_FORCE_INLINE PxVehicleSuspensionForceLegacyParams | transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const |
| PX_FORCE_INLINE bool | isValid () const |
Public Attributes | |
| PxReal | stiffness |
| Spring strength of suspension. | |
| PxReal | damping |
| Spring damper rate of suspension. | |
| PxReal | restDistance |
| The suspension compression that balances the gravitational force acting on the sprung mass. | |
| PxReal | sprungMass |
| The mass supported by the suspension spring. | |
Suspension force is computed by converting suspenson state to suspension force under the assumption of a linear spring.
| PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::damping |
Spring damper rate of suspension.
Range: [0, inf)
Unit: mass / time
| PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::restDistance |
The suspension compression that balances the gravitational force acting on the sprung mass.
Range: (0, inf)
Unit: length
| PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::sprungMass |
The mass supported by the suspension spring.
Range: (0, inf)
Unit: mass
| PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::stiffness |
Spring strength of suspension.
Range: (0, inf)
Unit: mass / (time^2)