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

Public Member Functions

void setDrivenWheel (const PxU32 wheelId, const bool drivenState)
 Set a specific wheel to be driven or non-driven by the differential.
 
bool getIsDrivenWheel (const PxU32 wheelId) const
 Test if a specific wheel has been configured as a driven or non-driven wheel.
 
 PxVehicleDifferentialNWData (const PxEMPTY)
 
PxU32 getDrivenWheelStatus () const
 
void setDrivenWheelStatus (PxU32 status)
 

Friends

class PxVehicleDriveSimDataNW
 
class PxVehicleUpdate
 

Member Function Documentation

◆ setDrivenWheel()

void physx::PxVehicleDifferentialNWData::setDrivenWheel ( const PxU32  wheelId,
const bool  drivenState 
)

Set a specific wheel to be driven or non-driven by the differential.

Note
The available drive torque will be split equally between all driven wheels. Zero torque will be applied to non-driven wheels. The default state of each wheel is to be uncoupled to the differential.

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