RavEngine
Loading...
Searching...
No Matches
physx::PxVehicleDifferential4WData Class Reference

Public Types

enum  Enum {
  eDIFF_TYPE_LS_4WD , eDIFF_TYPE_LS_FRONTWD , eDIFF_TYPE_LS_REARWD , eDIFF_TYPE_OPEN_4WD ,
  eDIFF_TYPE_OPEN_FRONTWD , eDIFF_TYPE_OPEN_REARWD , eMAX_NB_DIFF_TYPES
}
 

Public Member Functions

 PxVehicleDifferential4WData (const PxEMPTY)
 

Public Attributes

PxReal mFrontRearSplit
 Ratio of torque split between front and rear (>0.5 means more to front, <0.5 means more to rear).
 
PxReal mFrontLeftRightSplit
 Ratio of torque split between front-left and front-right (>0.5 means more to front-left, <0.5 means more to front-right).
 
PxReal mRearLeftRightSplit
 Ratio of torque split between rear-left and rear-right (>0.5 means more to rear-left, <0.5 means more to rear-right).
 
PxReal mCentreBias
 Maximum allowed ratio of average front wheel rotation speed and rear wheel rotation speeds The differential will divert more torque to the slower wheels when the bias is exceeded.
 
PxReal mFrontBias
 Maximum allowed ratio of front-left and front-right wheel rotation speeds. The differential will divert more torque to the slower wheel when the bias is exceeded.
 
PxReal mRearBias
 Maximum allowed ratio of rear-left and rear-right wheel rotation speeds. The differential will divert more torque to the slower wheel when the bias is exceeded.
 
PxVehicleDifferential4WData::Enum mType
 Type of differential.
 

Friends

class PxVehicleDriveSimData4W
 

Member Data Documentation

◆ mCentreBias

PxReal physx::PxVehicleDifferential4WData::mCentreBias

Maximum allowed ratio of average front wheel rotation speed and rear wheel rotation speeds The differential will divert more torque to the slower wheels when the bias is exceeded.

Note
Only applied to DIFF_TYPE_LS_4WD

Range: [1, PX_MAX_F32)

◆ mFrontBias

PxReal physx::PxVehicleDifferential4WData::mFrontBias

Maximum allowed ratio of front-left and front-right wheel rotation speeds. The differential will divert more torque to the slower wheel when the bias is exceeded.

Note
Only applied to DIFF_TYPE_LS_4WD and DIFF_TYPE_LS_FRONTWD

Range: [1, PX_MAX_F32)

◆ mFrontLeftRightSplit

PxReal physx::PxVehicleDifferential4WData::mFrontLeftRightSplit

Ratio of torque split between front-left and front-right (>0.5 means more to front-left, <0.5 means more to front-right).

Note
Only applied to DIFF_TYPE_LS_4WD and eDIFF_TYPE_OPEN_4WD and eDIFF_TYPE_LS_FRONTWD

Range: [0, 1]

◆ mFrontRearSplit

PxReal physx::PxVehicleDifferential4WData::mFrontRearSplit

Ratio of torque split between front and rear (>0.5 means more to front, <0.5 means more to rear).

Note
Only applied to DIFF_TYPE_LS_4WD and eDIFF_TYPE_OPEN_4WD

Range: [0, 1]

◆ mRearBias

PxReal physx::PxVehicleDifferential4WData::mRearBias

Maximum allowed ratio of rear-left and rear-right wheel rotation speeds. The differential will divert more torque to the slower wheel when the bias is exceeded.

Note
Only applied to DIFF_TYPE_LS_4WD and DIFF_TYPE_LS_REARWD

Range: [1, PX_MAX_F32)

◆ mRearLeftRightSplit

PxReal physx::PxVehicleDifferential4WData::mRearLeftRightSplit

Ratio of torque split between rear-left and rear-right (>0.5 means more to rear-left, <0.5 means more to rear-right).

Note
Only applied to DIFF_TYPE_LS_4WD and eDIFF_TYPE_OPEN_4WD and eDIFF_TYPE_LS_REARWD

Range: [0, 1]

◆ mType

PxVehicleDifferential4WData::Enum physx::PxVehicleDifferential4WData::mType

Type of differential.

Range: [DIFF_TYPE_LS_4WD, DIFF_TYPE_OPEN_FRONTWD]


The documentation for this class was generated from the following files: