here goes. if anything looks like i entered it wrong please tell me, there's a lots of potential for error when trying to describe coordinate systems with words. i mostly focused on the wheel and suspension positioning, and mostly on getting the +/- correct. the actual values will most likely need to be tweaked after the coordinate system is unified. i didn't adjust z positions. i'm guessing wheel z will be sorta arbitrary based on, or should z=0 be always defined as the wheel mount point? seems like it would work with most cars. extreme cases of dragsters, maybe not.
here's an image of how i think it should be done, after the image is modified xs.car file. as always if anyone has any reasons to go with another unified coordinate system, please discus pros and cons.
drive = RWD
[ steering ]
max-angle = 33.19
[ engine ]
position = 0.0, 1.0, -0.21
mass = 140.0
max-power = 1.79e5
peak-engine-rpm = 7800.0
rpm-limit = 9000.0
inertia = 0.25
idle = 0.02
start-rpm = 1000
stall-rpm = 350
fuel-consumption = 1e-9
torque-friction = 0.0003
torque-curve-00 = 1000, 140.0
torque-curve-01 = 2000, 149.14
torque-curve-02 = 2200, 145.07
torque-curve-03 = 2500, 147.78
torque-curve-04 = 3000, 169.50
torque-curve-05 = 3300, 172.19
torque-curve-06 = 4000, 169.50
torque-curve-07 = 4500, 166.77
torque-curve-08 = 5600, 172.19
torque-curve-09 = 5800, 170.83
torque-curve-10 = 6000, 168.12
torque-curve-11 = 6100, 177.61
torque-curve-12 = 6200, 186.42
torque-curve-13 = 6300, 192.53
torque-curve-14 = 6500, 195.92
torque-curve-15 = 6700, 195.92
torque-curve-16 = 7000, 195.24
torque-curve-17 = 7600, 190.49
torque-curve-18 = 8000, 184.39
torque-curve-19 = 8200, 183.04
torque-curve-20 = 8300, 146.43
torque-curve-21 = 9500, 146.43
[ clutch ]
sliding = 0.27
radius = 0.15
area = 0.75
max-pressure = 11079.26
[ transmission ]
gears = 6
gear-ratio-r = -2.8
gear-ratio-1 = 3.133
gear-ratio-2 = 2.045
gear-ratio-3 = 1.481
gear-ratio-4 = 1.161
gear-ratio-5 = 0.943
gear-ratio-6 = 0.763
shift-delay = 0.08
[ differential ]
final-drive = 4.100
anti-slip = 600.0
[ fuel-tank ]
position = 0.0, -1.0, -0.26
capacity = 0.0492
volume = 0.0492
fuel-density = 730.0
[ suspension-front ]
spring-constant = 49131.9
bounce = 2588
rebound = 2612
travel = 0.19
max-compression-velocity = 10.0
camber = -1.33
caster = 6.12
toe = 0.0
anti-roll = 8000.0
[ suspension-rear ]
spring-constant = 51137.3
bounce = 2788
rebound = 2912
travel = 0.19
max-compression-velocity = 10.0
camber = -0.45
caster = 0.28
toe = 0.0
anti-roll = 6000.0
[ tire-front ]
radius = 0.29
rolling-resistance = 1.3e-2, 6.5e-6
rotational-inertia = 10.0
tread = 0.0
# Lateral force
a0=1.6
a1=-38
a2=1201
a3=1914
a4=8.7
a5=0.014
a6=-0.24
a7=1.0
a8=-0.03
a9=-0.0013
a10=-0.15
a111=-8.5
a112=-0.29
a12=17.8
a13=-2.4
# Longitudinal force
b0=1.7
b1=-80
b2=1571
b3=23.3
b4=300
b5=0
b6=0.0068
b7=0.055
b8=-0.024
b9=0.014
b10=0.26
b11=-86
b12=350
# Aligning moment
c0=2.3
c1=-3.8
c2=-3.14
c3=-1.16
c4=-7.2
c5=0.0
c6=0.0
c7=0.044
c8=-0.58
c9=0.18
c10=0.043
c11=0.048
c12=-0.0035
c13=-0.18
c14=0.14
c15=-1.029
c16=0.27
c17=-1.1
[ tire-rear ]
radius = 0.2935
rolling-resistance = 1.3e-2, 6.5e-6
rotational-inertia = 10.0
tread = 0.0
# Lateral force
a0=1.6
a1=-38
a2=1201
a3=1914
a4=8.7
a5=0.014
a6=-0.24
a7=1.0
a8=-0.03
a9=-0.0013
a10=-0.15
a111=-8.5
a112=-0.29
a12=17.8
a13=-2.4
# Longitudinal force
b0=1.7
b1=-80
b2=1571
b3=23.3
b4=300
b5=0
b6=0.0068
b7=0.055
b8=-0.024
b9=0.014
b10=0.26
b11=-86
b12=350
# Aligning moment
c0=2.3
c1=-3.8
c2=-3.14
c3=-1.16
c4=-7.2
c5=0.0
c6=0.0
c7=0.044
c8=-0.58
c9=0.18
c10=0.043
c11=0.048
c12=-0.0035
c13=-0.18
c14=0.14
c15=-1.029
c16=0.27
c17=-1.1
[ brakes-front ]
friction = 0.73
max-pressure = 4.0e6
bias = 0.60
radius = 0.14
area = 0.015
[ brakes-rear ]
friction = 0.73
max-pressure = 4.0e6
bias = 0.40
radius = 0.14
area = 0.015
handbrake = 1.0
[ driver ]
position = -0.35, -0.57, 0.0
mass = 90.0
view-position = -0.64, 0.35, 0.30
hood-mounted-view-position = 0.55, 0, 0.17
[ drag ]
position = 0.0, 0.0, 0.2
frontal-area = 2
drag-coefficient = 0.3
[ wing-front ]
position = 1.9, 0.0, 0.60
frontal-area = 0.2
drag-coefficient = 0.0
surface-area = 0.3
lift-coefficient = -0.5
efficiency = 0.95
[ wing-rear ]
position = 0.0, -2.14, 0.37
frontal-area = 0.05
drag-coefficient = 0.0
surface-area = 0.5
lift-coefficient = -2
efficiency = 0.95
[ wheel-FR ]
position = 0.76, 1.28, -0.47
roll-height = 0.29
mass = 18.14
restitution = 0.1
[ suspension-FR ]
position = 0.76, 1.28, -0.03
hinge = 0,0,0
[ wheel-FL ]
position = -0.76, 1.28, -0.47
roll-height = 0.29
mass = 18.14
restitution = 0.1
[ suspension-FL ]
position = -0.76, 1.28, -0.03
hinge = 0,0,0
[ wheel-RR ]
position = 0.76, -1.14, -0.48
roll-height = 0.2935
mass = 18.14
restitution = 0.1
[ suspension-RR ]
position = 0.76, -1.14, -0.02
hinge = -0.85,0,0
[ wheel-RL ]
position = -0.76, -1.14, -0.48
roll-height = 0.2935
mass = 18.14
restitution = 0.1
[ suspension-RL ]
position = -0.76, -1.14, -0.02
hinge = -0.85,0,0
[ contact-points ]
# used to find the bounds of the car (for collisions)
# also play into the weight distribution and balance
mass = 0.05
position-00 = 1.96, 0.37, -0.24
position-01 = 1.96, -0.37, -0.24
position-02 = 1.52, 0.83, 0.16
position-03 = 1.52, -0.83, 0.16
position-04 = -0.10, 0.89, -0.24
position-05 = -0.10, -0.89, -0.24
position-06 = -2.18, -0.83, -0.10
position-07 = -2.18, 0.83, -0.10
# these are used to calculate the weight distribution and balance
[ particle-00 ]
mass = 30.0
position = -1.28, 0.0, -0.36
[ particle-01 ]
mass = 60.0
position = 0.11, 0.0, -0.36
[ particle-02 ]
mass = 235.0
position = -1.7, 0.39, 0.0
[ particle-03 ]
mass = 235.0
position = -1.7, -0.39, 0.0
[ particle-04 ]
mass = 195.0
position = 1.32, 0.39, -0.07
[ particle-05 ]
mass = 195.0
position = 1.32, -0.39, -0.07