; ---------- ; 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 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 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 position = -0.945, 2.24, 7.71 rotatezdirection = 0, 0, -1 rotatezfunction = -2.674346095279206 + straightAirPipe * 0.00000488692190558412 * 1.84 rotatezdamping = 20, 0.6 ;[object] ;States = car\drop0.csv, car\drop1.csv, car\drop2.csv, car\drop3.csv, car\drop4.csv ;position = -0.948, 2.44, 7.715 ;StateFunction = If[speed==0, mod[value + time/1000000 , 5] , mod [value + speed/5 , 5]] ;RefreshRate = 0.1 ;[Object] ;States = car\needle.csv ;position = 0, 2.44, 7.715 ;TranslateXDirection = 1, 0, 0 ;TranslateYDirection = 0, 1, 0 ;TranslateZFunction = IF[cos[time/20]*50<0,0,cos[time/20]*50] ;TranslateXFunction = cos[time/2]*0.1-0.10 ;TranslateYFunction = sin[time/2]*0.1 ;TranslateXFunction =cos[value + time * speedometer / 2.30]*0.1 ;TranslateYFunction =sin[value + time * speedometer / 2.30]*0.1 ;RefreshRate = 0.01