<?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>instrumentation/doors/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> 40 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.055 </x-m>
      <y-m> -0.111 </y-m>
      <z-m>  0.248 </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> -10 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -30 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.148 </x-m>
      <y-m> -0.319 </y-m>
      <z-m>  0.033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation> 

</PropertyList>

