CarCalculator:GetCarParameters()

From Automation Game Wiki

CarCalculator:GetCarParameters() returns a table of car data that is used in a lot of the internal simulations for acceleration, braking, cornering etc.

Table Values:

  • mass (numeric) [kg]
  • length (numeric) [m] --- Is Wheelbase Length
  • gearboxPowerTrans (numeric) [0-1] --- Gearbox power efficiency
  • diffPowerTrans (numeric) [0-1] --- differential power efficiency
  • AWDPowerPenalty (numeric) [0-1] --- Centre diff power efficiency
  • PowerPenalty4x4 (numeric) [0-1] --- Locking 4x4 diff power efficiency
  • clutchPowerTrans (numeric) [0-1] --- Clutch/Torque Converter power efficiency
  • FrontTrackWidth (numeric) [m]
  • RearTrackWidth (numeric) [m]
  • h_rf (numeric) [m] -- Roll Centre Front
  • h_rr (numeric) [m] -- Roll Centre Front