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

Public Member Functions

PX_FORCE_INLINE PxReal getRecipLongitudinalStiffnessPerUnitGravity () const
 Return Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity.
 
PX_FORCE_INLINE PxReal getFrictionVsSlipGraphRecipx1Minusx0 () const
 Return Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0])
 
PX_FORCE_INLINE PxReal getFrictionVsSlipGraphRecipx2Minusx1 () const
 Return Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0])
 

Public Attributes

PxReal mLatStiffX
 Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. mLatStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load.
 
PxReal mLatStiffY
 Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. mLatStiffY describes the maximum possible value of lateralStiffness/restLoad that occurs when (load/restLoad)>= mLatStiffX.
 
PxReal mLongitudinalStiffnessPerUnitGravity
 Tire Longitudinal stiffness per unit gravitational acceleration.
 
PxReal mCamberStiffnessPerUnitGravity
 tire Tire camber stiffness per unity gravitational acceleration.
 
PxReal mFrictionVsSlipGraph [3][2]
 Graph of friction vs longitudinal slip with 3 points.
 
PxU32 mType
 Tire type denoting slicks, wets, snow, winter, summer, all-terrain, mud etc.
 

Friends

class PxVehicleWheels4SimData
 

Member Function Documentation

◆ getFrictionVsSlipGraphRecipx1Minusx0()

PX_FORCE_INLINE PxReal physx::PxVehicleTireData::getFrictionVsSlipGraphRecipx1Minusx0 ( ) const
inline

Return Cached value of 1.0f/(mFrictionVsSlipGraph[1][0]-mFrictionVsSlipGraph[0][0])

See also
PxVehicleWheelsSimData::setTireData

◆ getFrictionVsSlipGraphRecipx2Minusx1()

PX_FORCE_INLINE PxReal physx::PxVehicleTireData::getFrictionVsSlipGraphRecipx2Minusx1 ( ) const
inline

Return Cached value of 1.0f/(mFrictionVsSlipGraph[2][0]-mFrictionVsSlipGraph[1][0])

See also
PxVehicleWheelsSimData::setTireData

◆ getRecipLongitudinalStiffnessPerUnitGravity()

PX_FORCE_INLINE PxReal physx::PxVehicleTireData::getRecipLongitudinalStiffnessPerUnitGravity ( ) const
inline

Return Cached value of 1.0/mLongitudinalStiffnessPerUnitGravity.

See also
PxVehicleWheelsSimData::setTireData

Member Data Documentation

◆ mCamberStiffnessPerUnitGravity

PxReal physx::PxVehicleTireData::mCamberStiffnessPerUnitGravity

tire Tire camber stiffness per unity gravitational acceleration.

Note
Camber stiffness of the tire is calculated as gravitationalAcceleration*mCamberStiffnessPerUnitGravity
Camber force can be approximated as gravitationalAcceleration*mCamberStiffnessPerUnitGravity*camberAngle.
Specified in kilograms per radian.

Range: [0, PX_MAX_F32)

◆ mFrictionVsSlipGraph

PxReal physx::PxVehicleTireData::mFrictionVsSlipGraph[3][2]

Graph of friction vs longitudinal slip with 3 points.

Note
mFrictionVsSlipGraph[0][0] is always zero.
mFrictionVsSlipGraph[0][1] is the friction available at zero longitudinal slip.
mFrictionVsSlipGraph[1][0] is the value of longitudinal slip with maximum friction.
mFrictionVsSlipGraph[1][1] is the maximum friction.
mFrictionVsSlipGraph[2][0] is the end point of the graph.
mFrictionVsSlipGraph[2][1] is the value of friction for slips greater than mFrictionVsSlipGraph[2][0].
The friction value computed from the friction vs longitudinal slip graph is used to scale the friction value for the combination of material and tire type (PxVehicleDrivableSurfaceToTireFrictionPairs).
mFrictionVsSlipGraph[2][0] > mFrictionVsSlipGraph[1][0] > mFrictionVsSlipGraph[0][0]
mFrictionVsSlipGraph[1][1] is typically greater than mFrictionVsSlipGraph[0][1]
mFrictionVsSlipGraph[2][1] is typically smaller than mFrictionVsSlipGraph[1][1]
longitudinal slips > mFrictionVsSlipGraph[2][0] use friction multiplier mFrictionVsSlipGraph[2][1]
The final friction value used by the tire model is the value returned by PxVehicleDrivableSurfaceToTireFrictionPairs multiplied by the value computed from mFrictionVsSlipGraph.
See also
PxVehicleDrivableSurfaceToTireFrictionPairs, PxVehicleComputeTireForce

Range: [0, PX_MAX_F32)

◆ mLatStiffX

PxReal physx::PxVehicleTireData::mLatStiffX

Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. mLatStiffX describes the minimum normalized load (load/restLoad) that gives a flat lateral stiffness response to load.

Range: [0, PX_MAX_F32)

◆ mLatStiffY

PxReal physx::PxVehicleTireData::mLatStiffY

Tire lateral stiffness is a graph of tire load that has linear behavior near zero load and flattens at large loads. mLatStiffY describes the maximum possible value of lateralStiffness/restLoad that occurs when (load/restLoad)>= mLatStiffX.

Note
If load/restLoad is greater than mLatStiffX then the lateral stiffness is mLatStiffY*restLoad.
If load/restLoad is less than mLatStiffX then the lateral stiffness is mLastStiffY*(load/mLatStiffX)
Lateral force can be approximated as lateralStiffness * lateralSlip.
Specified in per radian.

Range: [0, PX_MAX_F32)

◆ mLongitudinalStiffnessPerUnitGravity

PxReal physx::PxVehicleTireData::mLongitudinalStiffnessPerUnitGravity

Tire Longitudinal stiffness per unit gravitational acceleration.

Note
Longitudinal stiffness of the tire is calculated as gravitationalAcceleration*mLongitudinalStiffnessPerUnitGravity.
Longitudinal force can be approximated as gravitationalAcceleration*mLongitudinalStiffnessPerUnitGravity*longitudinalSlip.
Specified in kilograms per radian.

Range: [0, PX_MAX_F32)

◆ mType

PxU32 physx::PxVehicleTireData::mType

Tire type denoting slicks, wets, snow, winter, summer, all-terrain, mud etc.

See also
PxVehicleDrivableSurfaceToTireFrictionPairs

Range: [0, PX_MAX_F32)


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