PxVehicleSuspensionComplianceParams

Defined in include/vehicle2/suspension/PxVehicleSuspensionParams.h

struct PxVehicleSuspensionComplianceParams

Compliance describes how toe and camber angle and force application points are affected by suspension compression.

Note

Each compliance term is in the form of a graph with up to 3 points.

Note

Each point in the graph has form (jounce/suspensionTravelDist, complianceValue).

Note

The sequence of points must respresent monotonically increasing values of jounce.

Note

The compliance value can be computed by linear interpolation.

Note

If any graph has zero points in it, a value of 0.0 is used for the compliance value.

Note

If any graph has 1 point in it, the compliance value of that point is used directly.

Public Functions

inline PxVehicleSuspensionComplianceParams transformAndScale(const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const
inline bool isValid() const

Public Members

PxVehicleFixedSizeLookupTable<PxReal, 3> wheelToeAngle

A graph of toe angle against jounce/suspensionTravelDist with the toe angle expressed in radians.

Note

The toe angle is applied in the suspension frame.

PxVehicleFixedSizeLookupTable<PxReal, 3> wheelCamberAngle

A graph of camber angle against jounce/suspensionTravelDist with the camber angle expressed in radians.

Note

The camber angle is applied in the suspension frame.

PxVehicleFixedSizeLookupTable<PxVec3, 3> suspForceAppPoint

Suspension forces are applied at an offset from the suspension frame.

suspForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.

PxVehicleFixedSizeLookupTable<PxVec3, 3> tireForceAppPoint

Tire forces are applied at an offset from the suspension frame.

tireForceAppPoint specifies the (X, Y, Z) components of that offset as a function of jounce/suspensionTravelDist.