; ----------
; EM_A1g-3D Cab - by Roberto Benini (c) 2009
; ----------

[include]
car\A1.animated
Position = 0,0,0

; -----------
; cruscotto
; -----------

[object]
states = car\cruscotto.csv
position = -0.95, 2.34, 7.75

; -----------
; lancetta tachimetro
; -----------
[object]
states = car\needle.csv
position = -0.948, 2.44, 7.715
rotatezdirection = 0, 0, -1
rotatezfunction = -2.2654 + abs[speedometer] * 0.2735663706143592

; ---------------------
; lancette manometro
; ---------------------

[object]; manometro
states = car\needle_n.csv;needle_pressuregauge_lower.csv
position = -0.945, 2.24, 7.713
rotatezdirection = 0, 0, -1
rotatezfunction = -2.674346095279206 + mainReservoir * 0.00000488692190558412 * 1.44

[object];manometro
states = car\needle.csv;_pressuregauge_lower.csv
position = -0.945, 2.24, 7.707
rotatezdirection = 0, 0, 1
rotatezfunction = 5.2674346095279206 + brakeCylinder * 0.00000488692190558412 * 1.84
rotatezdamping = 20, 0.6

[object];manometro
states = car\needle_b.csv;needle_pressuregauge_upper.csv
position = -0.945, 2.24, 7.71
rotatezdirection = 0, 0, -1
rotatezfunction = -2.674346095279206 + straightAirPipe * 0.00000488692190558412 * 1.84
rotatezdamping = 20, 0.6
