gear.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>gear.ac</path>
  4. <offsets>
  5. <x-m>0</x-m>
  6. <y-m>0</y-m>
  7. <z-m>0</z-m>
  8. </offsets>
  9. <animation>
  10. <type>select</type>
  11. <object-name>front.lowersusp</object-name>
  12. <object-name>front.uppersusp</object-name>
  13. <object-name>left.lowersusp</object-name>
  14. <object-name>left.uppersusp</object-name>
  15. <object-name>right.lowersusp</object-name>
  16. <object-name>right.uppersusp</object-name>
  17. <object-name>front.gear</object-name>
  18. <object-name>right.gear</object-name>
  19. <object-name>left.gear</object-name>
  20. <condition>
  21. <greater-than>
  22. <property>gear/gear[0]/position-norm</property>
  23. <value>0</value>
  24. </greater-than>
  25. </condition>
  26. </animation>
  27. <!-- Retracting the gears -->
  28. <!-- Front gear -->
  29. <animation>
  30. <type>rotate</type>
  31. <object-name>front.uppersusp</object-name>
  32. <object-name>front.lowersusp</object-name>
  33. <object-name>front.gear</object-name>
  34. <property>gear/gear[0]/position-norm</property>
  35. <factor>90</factor>
  36. <offset-deg>-90</offset-deg>
  37. <center>
  38. <x-m>3.9324</x-m>
  39. <y-m>0</y-m>
  40. <z-m>1.3514</z-m>
  41. </center>
  42. <axis>
  43. <x>0</x>
  44. <y>-1</y>
  45. <z>0</z>
  46. </axis>
  47. </animation>
  48. <animation>
  49. <type>rotate</type>
  50. <object-name>front.uppersusp</object-name>
  51. <object-name>front.lowersusp</object-name>
  52. <object-name>front.gear</object-name>
  53. <property>gear/gear[0]/position-norm</property>
  54. <interpolation>
  55. <entry>
  56. <ind>0.0</ind>
  57. <dep>-90</dep>
  58. </entry>
  59. <entry>
  60. <ind>0.2</ind>
  61. <dep>-90</dep>
  62. </entry>
  63. <entry>
  64. <ind>1.0</ind>
  65. <dep>0</dep>
  66. </entry>
  67. </interpolation>
  68. <offset-deg>-90</offset-deg>
  69. <center>
  70. <x-m>3.9324</x-m>
  71. <y-m>0</y-m>
  72. <z-m>1.3514</z-m>
  73. </center>
  74. <axis>
  75. <x>0</x>
  76. <y>0</y>
  77. <z>1</z>
  78. </axis>
  79. </animation>
  80. <!-- Left gear -->
  81. <animation>
  82. <type>rotate</type>
  83. <object-name>left.uppersusp</object-name>
  84. <object-name>left.lowersusp</object-name>
  85. <object-name>left.gear</object-name>
  86. <property>gear/gear[1]/position-norm</property>
  87. <interpolation>
  88. <entry>
  89. <ind>0.0</ind>
  90. <dep>-90</dep>
  91. </entry>
  92. <entry>
  93. <ind>0.1</ind>
  94. <dep>-90</dep>
  95. </entry>
  96. <entry>
  97. <ind>1.0</ind>
  98. <dep>0</dep>
  99. </entry>
  100. </interpolation>
  101. <offset-deg>-90</offset-deg>
  102. <center>
  103. <x-m>8.8258</x-m>
  104. <y-m>-1.045</y-m>
  105. <z-m>1.7096</z-m>
  106. </center>
  107. <axis>
  108. <x>0</x>
  109. <y>-1</y>
  110. <z>0</z>
  111. </axis>
  112. </animation>
  113. <animation>
  114. <type>rotate</type>
  115. <object-name>left.uppersusp</object-name>
  116. <object-name>left.lowersusp</object-name>
  117. <object-name>left.gear</object-name>
  118. <property>gear/gear[1]/position-norm</property>
  119. <interpolation>
  120. <entry>
  121. <ind>0.0</ind>
  122. <dep>-90</dep>
  123. </entry>
  124. <entry>
  125. <ind>0.4</ind>
  126. <dep>0</dep>
  127. </entry>
  128. <entry>
  129. <ind>1.0</ind>
  130. <dep>0</dep>
  131. </entry>
  132. </interpolation>
  133. <offset-deg>-90</offset-deg>
  134. <center>
  135. <x-m>8.8258</x-m>
  136. <y-m>-1.045</y-m>
  137. <z-m>1.7096</z-m>
  138. </center>
  139. <axis>
  140. <x>0</x>
  141. <y>0</y>
  142. <z>-1</z>
  143. </axis>
  144. </animation>
  145. <animation>
  146. <type>rotate</type>
  147. <object-name>left.uppersusp</object-name>
  148. <object-name>left.lowersusp</object-name>
  149. <object-name>left.gear</object-name>
  150. <property>gear/gear[1]/position-norm</property>
  151. <interpolation>
  152. <entry>
  153. <ind>0.0</ind>
  154. <dep>-5</dep>
  155. </entry>
  156. <entry>
  157. <ind>0.4</ind>
  158. <dep>0</dep>
  159. </entry>
  160. <entry>
  161. <ind>1.0</ind>
  162. <dep>0</dep>
  163. </entry>
  164. </interpolation>
  165. <offset-deg>-90</offset-deg>
  166. <center>
  167. <x-m>8.8258</x-m>
  168. <y-m>-1.045</y-m>
  169. <z-m>1.7096</z-m>
  170. </center>
  171. <axis>
  172. <x>0</x>
  173. <y>1</y>
  174. <z>0</z>
  175. </axis>
  176. </animation>
  177. <animation>
  178. <type>translate</type>
  179. <object-name>left.uppersusp</object-name>
  180. <object-name>left.lowersusp</object-name>
  181. <object-name>left.gear</object-name>
  182. <property>gear/gear[1]/position-norm</property>
  183. <interpolation>
  184. <entry>
  185. <ind>0.0</ind>
  186. <dep>0.8</dep>
  187. </entry>
  188. <entry>
  189. <ind>0.2</ind>
  190. <dep>0</dep>
  191. </entry>
  192. <entry>
  193. <ind>1.0</ind>
  194. <dep>0</dep>
  195. </entry>
  196. </interpolation>
  197. <axis>
  198. <x>0</x>
  199. <y>0</y>
  200. <z>1</z>
  201. </axis>
  202. </animation>
  203. <!-- Right gear -->
  204. <animation>
  205. <type>rotate</type>
  206. <object-name>right.uppersusp</object-name>
  207. <object-name>right.lowersusp</object-name>
  208. <object-name>right.gear</object-name>
  209. <property>gear/gear[2]/position-norm</property>
  210. <interpolation>
  211. <entry>
  212. <ind>0.0</ind>
  213. <dep>-90</dep>
  214. </entry>
  215. <entry>
  216. <ind>0.1</ind>
  217. <dep>-90</dep>
  218. </entry>
  219. <entry>
  220. <ind>1.0</ind>
  221. <dep>0</dep>
  222. </entry>
  223. </interpolation>
  224. <offset-deg>-90</offset-deg>
  225. <center>
  226. <x-m>8.8258</x-m>
  227. <y-m>1.045</y-m>
  228. <z-m>1.7096</z-m>
  229. </center>
  230. <axis>
  231. <x>0</x>
  232. <y>-1</y>
  233. <z>0</z>
  234. </axis>
  235. </animation>
  236. <animation>
  237. <type>rotate</type>
  238. <object-name>right.uppersusp</object-name>
  239. <object-name>right.lowersusp</object-name>
  240. <object-name>right.gear</object-name>
  241. <property>gear/gear[2]/position-norm</property>
  242. <interpolation>
  243. <entry>
  244. <ind>0.0</ind>
  245. <dep>90</dep>
  246. </entry>
  247. <entry>
  248. <ind>0.4</ind>
  249. <dep>0</dep>
  250. </entry>
  251. <entry>
  252. <ind>1.0</ind>
  253. <dep>0</dep>
  254. </entry>
  255. </interpolation>
  256. <offset-deg>-90</offset-deg>
  257. <center>
  258. <x-m>8.8258</x-m>
  259. <y-m>1.045</y-m>
  260. <z-m>1.7096</z-m>
  261. </center>
  262. <axis>
  263. <x>0</x>
  264. <y>0</y>
  265. <z>-1</z>
  266. </axis>
  267. </animation>
  268. <animation>
  269. <type>rotate</type>
  270. <object-name>right.uppersusp</object-name>
  271. <object-name>right.lowersusp</object-name>
  272. <object-name>right.gear</object-name>
  273. <property>gear/gear[2]/position-norm</property>
  274. <interpolation>
  275. <entry>
  276. <ind>0.0</ind>
  277. <dep>5</dep>
  278. </entry>
  279. <entry>
  280. <ind>0.4</ind>
  281. <dep>0</dep>
  282. </entry>
  283. <entry>
  284. <ind>1.0</ind>
  285. <dep>0</dep>
  286. </entry>
  287. </interpolation>
  288. <offset-deg>-90</offset-deg>
  289. <center>
  290. <x-m>8.8258</x-m>
  291. <y-m>1.045</y-m>
  292. <z-m>1.7096</z-m>
  293. </center>
  294. <axis>
  295. <x>0</x>
  296. <y>-1</y>
  297. <z>0</z>
  298. </axis>
  299. </animation>
  300. <animation>
  301. <type>translate</type>
  302. <object-name>right.uppersusp</object-name>
  303. <object-name>right.lowersusp</object-name>
  304. <object-name>right.gear</object-name>
  305. <property>gear/gear[2]/position-norm</property>
  306. <interpolation>
  307. <entry>
  308. <ind>0.0</ind>
  309. <dep>0.8</dep>
  310. </entry>
  311. <entry>
  312. <ind>0.2</ind>
  313. <dep>0</dep>
  314. </entry>
  315. <entry>
  316. <ind>1.0</ind>
  317. <dep>0</dep>
  318. </entry>
  319. </interpolation>
  320. <axis>
  321. <x>0</x>
  322. <y>0</y>
  323. <z>1</z>
  324. </axis>
  325. </animation>
  326. <!-- compression -->
  327. <animation>
  328. <condition>
  329. <equals>
  330. <property>gear/gear[0]/position-norm</property>
  331. <value>1</value>
  332. </equals>
  333. </condition>
  334. <type>translate</type>
  335. <object-name>front.lowersusp</object-name>
  336. <object-name>front.gear</object-name>
  337. <property>gear/gear[0]/compression-norm</property>
  338. <factor>0.32</factor>
  339. <axis>
  340. <x>0</x>
  341. <y>0</y>
  342. <z>1</z>
  343. </axis>
  344. </animation>
  345. <animation>
  346. <condition>
  347. <equals>
  348. <property>gear/gear[1]/position-norm</property>
  349. <value>1</value>
  350. </equals>
  351. </condition>
  352. <type>translate</type>
  353. <object-name>left.lowersusp</object-name>
  354. <object-name>left.gear</object-name>
  355. <property>gear/gear[1]/compression-norm</property>
  356. <factor>0.3</factor>
  357. <axis>
  358. <x>0</x>
  359. <y>0</y>
  360. <z>1</z>
  361. </axis>
  362. </animation>
  363. <animation>
  364. <condition>
  365. <equals>
  366. <property>gear/gear[2]/position-norm</property>
  367. <value>1</value>
  368. </equals>
  369. </condition>
  370. <type>translate</type>
  371. <object-name>right.lowersusp</object-name>
  372. <object-name>right.gear</object-name>
  373. <property>gear/gear[2]/compression-norm</property>
  374. <factor>0.3</factor>
  375. <axis>
  376. <x>0</x>
  377. <y>0</y>
  378. <z>1</z>
  379. </axis>
  380. </animation>
  381. <!-- Steering -->
  382. <animation>
  383. <type>rotate</type>
  384. <object-name>front.gear</object-name>
  385. <object-name>front.lowersusp</object-name>
  386. <property>controls/flight/rudder</property>
  387. <factor>-50</factor>
  388. <center>
  389. <x-m>3.932</x-m>
  390. <y-m>0</y-m>
  391. <z-m>0.823</z-m>
  392. </center>
  393. <axis>
  394. <x>0</x>
  395. <y>0</y>
  396. <z>1</z>
  397. </axis>
  398. </animation>
  399. <animation>
  400. <type>spin</type>
  401. <object-name>front.gear</object-name>
  402. <property>gear/gear[0]/rollspeed-ms</property>
  403. <factor> 30 </factor>
  404. <center>
  405. <x-m>3.89826</x-m>
  406. <y-m>0</y-m>
  407. <z-m>0.212263</z-m>
  408. </center>
  409. <axis>
  410. <x>0</x>
  411. <y>-1</y>
  412. <z>0</z>
  413. </axis>
  414. </animation>
  415. <animation>
  416. <type>spin</type>
  417. <object-name>left.gear</object-name>
  418. <property>gear/gear[1]/rollspeed-ms</property>
  419. <factor> 30 </factor>
  420. <center>
  421. <x-m>8.826483</x-m>
  422. <y-m>-1.3159</y-m>
  423. <z-m>0.245195</z-m>
  424. </center>
  425. <axis>
  426. <x>0</x>
  427. <y>-1</y>
  428. <z>0</z>
  429. </axis>
  430. </animation>
  431. <animation>
  432. <type>spin</type>
  433. <object-name>right.gear</object-name>
  434. <property>gear/gear[2]/rollspeed-ms</property>
  435. <factor> 30 </factor>
  436. <center>
  437. <x-m>8.826483</x-m>
  438. <y-m>1.3159</y-m>
  439. <z-m>0.245195</z-m>
  440. </center>
  441. <axis>
  442. <x>0</x>
  443. <y>-1</y>
  444. <z>0</z>
  445. </axis>
  446. </animation>
  447. </PropertyList>