|
RavEngine
|
#include <PxVehicleDrivetrainParams.h>
Public Types | |
| enum | Enum { eDIFF_TYPE_LS_4WD , eDIFF_TYPE_LS_FRONTWD , eDIFF_TYPE_LS_REARWD , eMAX_NB_DIFF_TYPES } |
Public Member Functions | |
| PX_FORCE_INLINE PxVehicleFourWheelDriveDifferentialLegacyParams | transformAndScale (const PxVehicleFrame &srcFrame, const PxVehicleFrame &trgFrame, const PxVehicleScale &srcScale, const PxVehicleScale &trgScale) const |
| PX_FORCE_INLINE bool | isValid (const PxVehicleAxleDescription &axleDesc) const |
Public Attributes | |
| PxU32 | frontWheelIds [2] |
| The two front wheels are specified by the array frontWheelIds. | |
| PxU32 | rearWheelIds [2] |
| The two rear wheels are specified by the array rearWheelIds. | |
| PxReal | frontRearSplit |
| Ratio of torque split between front and rear wheels (>0.5 means more front, <0.5 means more to rear). | |
| PxReal | frontNegPosSplit |
| Ratio of torque split between front-negative and front-positive wheels (>0.5 means more to frontWheelIds[0], <0.5 means more to frontWheelIds[1]). | |
| PxReal | rearNegPosSplit |
| Ratio of torque split between rear-negative wheel and rear-positive wheels (>0.5 means more to rearWheelIds[0], <0.5 means more to rearWheelIds[1]). | |
| PxReal | centerBias |
| 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 | frontBias |
| 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 | rearBias |
| 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. | |
| Enum | type |
| Type of differential. | |
| PxReal physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::centerBias |
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.
Range: [1, inf)
| PxReal physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::frontBias |
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.
Range: [1, inf)
| PxReal physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::frontNegPosSplit |
Ratio of torque split between front-negative and front-positive wheels (>0.5 means more to frontWheelIds[0], <0.5 means more to frontWheelIds[1]).
Range: [0, 1]
| PxReal physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::frontRearSplit |
Ratio of torque split between front and rear wheels (>0.5 means more front, <0.5 means more to rear).
Range: [0, 1]
| PxU32 physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::frontWheelIds[2] |
The two front wheels are specified by the array frontWheelIds.
| PxReal physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::rearBias |
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.
Range: [1, inf)
| PxReal physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::rearNegPosSplit |
Ratio of torque split between rear-negative wheel and rear-positive wheels (>0.5 means more to rearWheelIds[0], <0.5 means more to rearWheelIds[1]).
Range: [0, 1]
| PxU32 physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::rearWheelIds[2] |
The two rear wheels are specified by the array rearWheelIds.
| Enum physx::vehicle2::PxVehicleFourWheelDriveDifferentialLegacyParams::type |
Type of differential.
Range: [DIFF_TYPE_LS_4WD, eDIFF_TYPE_LS_REARWD]