update DG-101G: improve animation of tow for winch launch
[fg:toms-fgdata.git] / Aircraft / DG-101G / Models / Ropes / winchrope.xml
1 <?xml version="1.0"?>
2
3 <!--
4   Version: 2012-07-12
5 -->
6
7 <PropertyList>
8
9   <path>winchrope.ac</path>
10   
11   <offsets>
12           <x-m>0.0</x-m>
13           <y-m>0.0</y-m>
14           <z-m>0.0</z-m>
15     <pitch-deg>0</pitch-deg>
16     
17   </offsets>
18   
19   
20   
21   
22 <!-- animations -->
23 <!-- order of animation matters
24      It seems that the animations are pushed on a stack and then they are executed
25      one after another down from the stack. So, the first one listed in this 
26      configuration file will be executed as the last one.
27 -->
28   
29   <animation>
30     <type>translate</type>
31     <object-name>parachute</object-name>
32     <property>sim/glider/winchrope/flags/exist</property>
33     <factor>-5</factor>
34     <axis>
35       <x>1</x>
36       <y>0</y>
37       <z>0</z>
38     </axis>
39   </animation>
40   
41   <animation>
42     <type>scale</type>
43     <object-name>parachute</object-name>
44     <property>sim/glider/winchrope/work/scale_x</property>
45     <factor>-5</factor>
46     <axis>
47       <x>-0.5</x>
48       <y>0</y>
49       <z>0</z>
50     </axis>
51   </animation>
52   
53   <animation>
54     <type>scale</type>
55     <object-name>parachute</object-name>
56     <property>sim/glider/winchrope/work/scale_yz</property>
57     <x-factor>2</x-factor>
58     <y-factor>0.5</y-factor>
59     <z-factor>0.5</z-factor>
60   </animation>
61   
62   
63   
64   <animation>
65     <type>scale</type>
66     <object-name>winchrope</object-name>
67     <property>sim/glider/winchrope/work/scale_x</property>
68     <x-factor>200</x-factor>
69   </animation>
70
71
72 </PropertyList>