RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleSuspensionForceLegacyParams Struct Reference

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.
 

Detailed Description

Suspension force is computed by converting suspenson state to suspension force under the assumption of a linear spring.

See also
PxVehicleSuspensionLegacyForceUpdate
Deprecated:

Member Data Documentation

◆ damping

PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::damping

Spring damper rate of suspension.

Range: [0, inf)
Unit: mass / time

◆ restDistance

PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::restDistance

The suspension compression that balances the gravitational force acting on the sprung mass.

Range: (0, inf)
Unit: length

◆ sprungMass

PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::sprungMass

The mass supported by the suspension spring.

Range: (0, inf)
Unit: mass

◆ stiffness

PxReal physx::vehicle2::PxVehicleSuspensionForceLegacyParams::stiffness

Spring strength of suspension.

Range: (0, inf)
Unit: mass / (time^2)


The documentation for this struct was generated from the following file: