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

Public Member Functions

PX_FORCE_INLINE void setToDefault ()
 

Public Attributes

PxU32 connectedWheels [PxVehicleLimits::eMAX_NB_WHEELS]
 A list of wheel indices that are connected to the differential.
 
PxU32 nbConnectedWheels
 The number of wheels that are connected to the differential.
 
PxReal torqueRatiosAllWheels [PxVehicleLimits::eMAX_NB_WHEELS]
 The fraction of available torque that is delivered to each wheel through the differential.
 
PxReal aveWheelSpeedContributionAllWheels [PxVehicleLimits::eMAX_NB_WHEELS]
 The contribution of each wheel to the average wheel rotation speed measured at the clutch.
 

Member Data Documentation

◆ aveWheelSpeedContributionAllWheels

PxReal physx::vehicle2::PxVehicleDifferentialState::aveWheelSpeedContributionAllWheels[PxVehicleLimits::eMAX_NB_WHEELS]

The contribution of each wheel to the average wheel rotation speed measured at the clutch.

Note
If a wheel is not connected to the differential then the contribution to the average rotation speed measured at the clutch must be zero.
The sum of all contributions must equal 1.0.

◆ torqueRatiosAllWheels

PxReal physx::vehicle2::PxVehicleDifferentialState::torqueRatiosAllWheels[PxVehicleLimits::eMAX_NB_WHEELS]

The fraction of available torque that is delivered to each wheel through the differential.

Note
If a wheel is not connected to the differential then the fraction of available torque delivered to that wheel will be zero.
A negative torque ratio for a wheel indicates a negative gearing is to be applied to that wheel.
The sum of the absolute value of each fraction must equal 1.0.

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