RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehicleSuspensionParams Struct Reference
Collaboration diagram for physx::vehicle2::PxVehicleSuspensionParams:
[legend]

Public Member Functions

PX_FORCE_INLINE PxVehicleSuspensionParams transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const
 
PX_FORCE_INLINE bool isValid () const
 

Public Attributes

PxTransform suspensionAttachment
 suspensionAttachment specifies the wheel pose at maximum compression.
 
PxVec3 suspensionTravelDir
 suspensionTravelDir specifies the direction of suspension travel.
 
PxReal suspensionTravelDist
 suspensionTravelDist is the maximum distance that the suspenson can elongate along suspensionTravelDir from the pose specified by suspensionAttachment.
 
PxTransform wheelAttachment
 wheelAttachment is the pose of the wheel in the suspension frame.
 

Member Data Documentation

◆ suspensionAttachment

PxTransform physx::vehicle2::PxVehicleSuspensionParams::suspensionAttachment

suspensionAttachment specifies the wheel pose at maximum compression.

Note
suspensionAttachment is specified in the frame of the rigid body.
camber, steer and toe angles are all applied in the suspension frame.

◆ suspensionTravelDir

PxVec3 physx::vehicle2::PxVehicleSuspensionParams::suspensionTravelDir

suspensionTravelDir specifies the direction of suspension travel.

Note
suspensionTravelDir is specified in the frame of the rigid body.

◆ suspensionTravelDist

PxReal physx::vehicle2::PxVehicleSuspensionParams::suspensionTravelDist

suspensionTravelDist is the maximum distance that the suspenson can elongate along suspensionTravelDir from the pose specified by suspensionAttachment.

Note
The position suspensionAttachment.p + suspensionTravelDir*suspensionTravelDist corresponds to the the suspension at maximum droop in the rigid body frame.

◆ wheelAttachment

PxTransform physx::vehicle2::PxVehicleSuspensionParams::wheelAttachment

wheelAttachment is the pose of the wheel in the suspension frame.

Note
The rotation angle around the wheel's lateral axis is applied in the wheel attachment frame.

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