A typedef for a slip angle to lateral force function pointer. Each car wheel contains a pointer of this type which can be replace for more control over tire behaviour. See TA::CarTemplate::Wheel::pFnSlipAngleToLateralForce for more details. See an example implementation of this function here . typedef float (TAC_CALL *FnSlipAngleToLateralForce)(
float fSlipAngle,
float fLongitudinalSlipRatio,
const SurfaceAttribute& surfaceAttribute);
- Parameters
- fSlipAngle
- fSlipAngle The slip angle between the tire and the surface.
- fLongitudinalSlipRatio
- fLongitudinalSlipRatio The longitudinal slip ration between the tire and the surface.
- surfaceAttribute
- The properties of the surface that the tire is in contact with.
- Returns:
- The lateral force between the tire and the ground.
|