RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleSuspensionForceParams 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 PxVehicleSuspensionForceParams 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 sprungMass
 Part of the vehicle mass that is 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
PxVehicleSuspensionForceUpdate

Member Data Documentation

◆ damping

PxReal physx::vehicle2::PxVehicleSuspensionForceParams::damping

Spring damper rate of suspension.

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

◆ sprungMass

PxReal physx::vehicle2::PxVehicleSuspensionForceParams::sprungMass

Part of the vehicle mass that is supported by the suspension spring.

Range: (0, inf)
Unit: mass

◆ stiffness

PxReal physx::vehicle2::PxVehicleSuspensionForceParams::stiffness

Spring strength of suspension.

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


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