CarCalculator:GetCarParameters(): Difference between revisions

From Automation Game Wiki
(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: ===...")
 
No edit summary
 
Line 1: Line 1:
CarCalculator:GetCarParameters() returns a table of car data that is used in a lot of the internal simulations for acceleration, braking, cornering etc.
[[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: ===
=== Table Values: ===

Latest revision as of 18:43, 4 November 2021

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