1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Flaps/flaps.xml
Stuart Buchanan 60d7073794 Initial checking of c172p-detailed.
From https://github.com/Juanvvc/c172p-detailed.git

Commit df6b2c5f4f75d000c5f5ef9c6cc4446784348f20
2015-06-16 22:20:54 +01:00

50 lines
1.2 KiB
XML

<?xml version="1.0" ?>
<PropertyList>
<path>flaps.ac</path>
<animation>
<type>knob</type>
<property>controls/flight/flaps</property>
<object-name>FlapSwitch</object-name>
<factor>10</factor>
<offset-deg>0</offset-deg>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.39</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
<decrease>
<binding>
<command>nasal</command>
<script>controls.flapsDown(-1);</script>
</binding>
</decrease>
<increase>
<binding>
<command>nasal</command>
<script>controls.flapsDown(1);</script>
</binding>
</increase>
</animation>
<animation>
<type>rotate</type>
<property>surface-positions/flap-pos-norm</property>
<object-name>FlapPos</object-name>
<factor>10</factor>
<offset-deg>0</offset-deg>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.39</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
</PropertyList>