CarCalculator:CalculateDynamicCG(speed,mode): Difference between revisions
From Automation Game Wiki
(Created page with "CarCalculator:CalculateDynamicCG(speed,mode) returns a table with CG data that is used in a lot of the internal simulations. === Arguments === * Speed (numeric) [m/s] *...") |
(No difference)
|
Latest revision as of 18:55, 4 November 2021
CarCalculator:CalculateDynamicCG(speed,mode) returns a table with CG data that is used in a lot of the internal simulations.
Arguments
- Speed (numeric) [m/s]
- Mode (string, optional) --- Allowed values: nil, "ACCELERATION", "BRAKING", "CORNERING". Use to control dynamic aero surfaces
Table Values:
- y (numeric) [m] --Position compared to origin (Forward/Aft)
- z (numeric) [m] --Position compared to origin (Up Down)
- l_f (numeric) [m] --Distance of cg from front axle
- l_r (numeric) [m] --Distance of cg from rear axle
- downForce (numeric) [kg] --Total downforce at the defined speed
- mass (numeric) [kg]
- WeightDistribution (numeric)
- downForceCG (table)
- y (numeric) [m]
- z (numeric) [m]
- l_f (numeric) [m]
- l_r (numeric) [m]