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

Public Member Functions

PX_FORCE_INLINE void setToDefault ()
 

Public Attributes

PxReal rotationSpeed
 The rotation speed of the wheel around the lateral axis.
 
PxReal correctedRotationSpeed
 The corrected rotation speed of the wheel around the lateral axis in radians per second.
 
PxReal rotationAngle
 The accumulated angle of the wheel around the lateral axis in radians in range (-2*Pi,2*Pi)
 

Member Data Documentation

◆ correctedRotationSpeed

PxReal physx::vehicle2::PxVehicleWheelRigidBody1dState::correctedRotationSpeed

The corrected rotation speed of the wheel around the lateral axis in radians per second.

At low forward wheel speed, the wheel rotation speed can get unstable (depending on the tire model used) and, for example, oscillate. To integrate the wheel rotation angle, a (potentially) blended rotation speed is used which gets stored in correctedRotationSpeed.

Unit: radians / time

See also
PxVehicleSimulationContext::thresholdForwardSpeedForWheelAngleIntegration

◆ rotationSpeed

PxReal physx::vehicle2::PxVehicleWheelRigidBody1dState::rotationSpeed

The rotation speed of the wheel around the lateral axis.

Unit: radians / time


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