CarCalculator:GetCarParameters()

From Automation Game Wiki
Revision as of 18:43, 4 November 2021 by Caswal (talk | contribs) (Created page with "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: ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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