<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <path>fighter_default.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>tete</object-name>
    <object-name>corps</object-name>
    <object-name>bras</object-name>
    <object-name>avantbras</object-name>
    <object-name>main</object-name>

    <!-- Objets transparents -->
    <object-name>lunettes</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>lunettes</object-name>
  </animation>

  <animation>
    <name>AnimeTete</name>
    <object-name>lunettes</object-name>
    <object-name>tete</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>lunettes</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 45</factor>
    <center>
      <x-m> 0.080 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.486 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AnimeTete</object-name>
    <property>controls/flight/elevator</property>
    <factor> -15 </factor> 
    <center>
      <x-m> 0.074 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.359 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AnimeTete</object-name>
    <property>controls/flight/rudder</property>
    <factor>-25</factor>
    <center>
      <x-m> 0.074 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.359 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AnimeTete</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> -10.0</factor>
    <center>
      <x-m> 0.074 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.359 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation> 

  <!-- Animation du bras gauche en fonction du throttle -->
  <animation>
    <name>BrasComplet</name>
    <object-name>bras</object-name>
    <object-name>avantbras</object-name>
    <object-name>main</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>BrasComplet</object-name>
    <property>/controls/engines/engine/throttle</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 20 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 30 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.04841 </x-m>
      <y-m> -0.21799 </y-m>
      <z-m>  0.28939 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation> 

  <animation>
    <name>AvantbrasComplet</name>
    <object-name>avantbras</object-name>
    <object-name>main</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AvantbrasComplet</object-name>
    <property>/controls/engines/engine/throttle</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -20 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -40 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.00576 </x-m>
      <y-m> -0.33230 </y-m>
      <z-m>  0.06293 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation> 

</PropertyList>
