PxVehicleWheelData Class Reference

#include <PxVehicleComponents.h>

Public Member Functions

 PxVehicleWheelData ()
 
PX_FORCE_INLINE PxReal getRecipRadius () const
 Return value equal to 1.0f/mRadius. More...
 
PX_FORCE_INLINE PxReal getRecipMOI () const
 Return value equal to 1.0f/mRecipMOI. More...
 

Public Attributes

PxReal mRadius
 Radius of unit that includes metal wheel plus rubber tire. More...
 
PxReal mWidth
 Maximum width of unit that includes wheel plus tire. More...
 
PxReal mMass
 Mass of unit that includes wheel plus tire. More...
 
PxReal mMOI
 Moment of inertia of unit that includes wheel plus tire about the rolling axis. More...
 
PxReal mDampingRate
 Damping rate applied to wheel. More...
 
PxReal mMaxBrakeTorque
 Max brake torque that can be applied to wheel. More...
 
PxReal mMaxHandBrakeTorque
 Max handbrake torque that can be applied to wheel. More...
 
PxReal mMaxSteer
 Max steer angle that can be achieved by the wheel. More...
 
PxReal mToeAngle
 Wheel toe angle. This value is ignored by PxVehicleDriveTank and PxVehicleNoDrive. More...
 

Private Member Functions

bool isValid () const
 

Private Attributes

PxReal mRecipRadius
 Reciprocal of radius of unit that includes metal wheel plus rubber tire. More...
 
PxReal mRecipMOI
 Reciprocal of moment of inertia of unit that includes wheel plus tire about single allowed axis of rotation. More...
 
PxReal mPad [1]
 

Friends

class PxVehicleWheels4SimData
 

Constructor & Destructor Documentation

◆ PxVehicleWheelData()

PxVehicleWheelData::PxVehicleWheelData ( )
inline

Member Function Documentation

◆ getRecipMOI()

PX_FORCE_INLINE PxReal PxVehicleWheelData::getRecipMOI ( ) const
inline

Return value equal to 1.0f/mRecipMOI.

See also
PxVehicleWheelsSimData::setWheelData

◆ getRecipRadius()

PX_FORCE_INLINE PxReal PxVehicleWheelData::getRecipRadius ( ) const
inline

Return value equal to 1.0f/mRadius.

See also
PxVehicleWheelsSimData::setWheelData

◆ isValid()

bool PxVehicleWheelData::isValid ( ) const
private

Friends And Related Function Documentation

◆ PxVehicleWheels4SimData

friend class PxVehicleWheels4SimData
friend

Member Data Documentation

◆ mDampingRate

PxReal PxVehicleWheelData::mDampingRate

Damping rate applied to wheel.

Note
Specified in kilograms metres-squared per second (kg m^2 s^-1).

Range: [0, PX_MAX_F32)

◆ mMass

PxReal PxVehicleWheelData::mMass

Mass of unit that includes wheel plus tire.

Note
Specified in kilograms (kg).

Range: [0, PX_MAX_F32)

◆ mMaxBrakeTorque

PxReal PxVehicleWheelData::mMaxBrakeTorque

Max brake torque that can be applied to wheel.

Note
Specified in kilograms metres-squared per second-squared (kg m^2 s^-2)

Range: [0, PX_MAX_F32)

◆ mMaxHandBrakeTorque

PxReal PxVehicleWheelData::mMaxHandBrakeTorque

Max handbrake torque that can be applied to wheel.

Note
Specified in kilograms metres-squared per second-squared (kg m^2 s^-2)

Range: [0, PX_MAX_F32)

◆ mMaxSteer

PxReal PxVehicleWheelData::mMaxSteer

Max steer angle that can be achieved by the wheel.

Note
Specified in radians.

Range: [0, PX_MAX_F32)

◆ mMOI

PxReal PxVehicleWheelData::mMOI

Moment of inertia of unit that includes wheel plus tire about the rolling axis.

Note
Specified in kilograms metres-squared (kg m^2).

Range: [0, PX_MAX_F32)

◆ mPad

PxReal PxVehicleWheelData::mPad[1]
private

◆ mRadius

PxReal PxVehicleWheelData::mRadius

Radius of unit that includes metal wheel plus rubber tire.

Note
Specified in metres (m).

Range: [0, PX_MAX_F32)

◆ mRecipMOI

PxReal PxVehicleWheelData::mRecipMOI
private

Reciprocal of moment of inertia of unit that includes wheel plus tire about single allowed axis of rotation.

Note
Not necessary to set this value because it is set by PxVehicleWheelsSimData::setWheelData

Range: [0, PX_MAX_F32)

◆ mRecipRadius

PxReal PxVehicleWheelData::mRecipRadius
private

Reciprocal of radius of unit that includes metal wheel plus rubber tire.

Note
Not necessary to set this value because it is set by PxVehicleWheelsSimData::setWheelData

Range: [0, PX_MAX_F32)

◆ mToeAngle

PxReal PxVehicleWheelData::mToeAngle

Wheel toe angle. This value is ignored by PxVehicleDriveTank and PxVehicleNoDrive.

Note
Specified in radians.

Range: [0, Pi/2]

◆ mWidth

PxReal PxVehicleWheelData::mWidth

Maximum width of unit that includes wheel plus tire.

Note
Specified in metres (m).

Range: [0, PX_MAX_F32)


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