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

<PropertyList>

  <path>pilot_spain1950.ac</path>

<object-name>tete</object-name>
<z-offset-deg-prop>/sim/model/pilot-head/yaw-deg</z-offset-deg-prop>

  <animation>
    <!-- Objets opaques -->
    <object-name>arnes</object-name>
    <object-name>avantbrasD</object-name>
    <object-name>avantbrasG</object-name>
    <object-name>brasD</object-name>
    <object-name>brasG</object-name>
    <object-name>corps</object-name>
    <object-name>cuisseD</object-name>
    <object-name>cuisseG</object-name>
    <object-name>jambeD</object-name>
    <object-name>jambeG</object-name>
    <object-name>manche</object-name>
    <object-name>piedD</object-name>
    <object-name>piedG</object-name>
    <object-name>solapacuello</object-name>
    <object-name>tete</object-name>
  </animation>

<!-- MOVIMIENTO SINCRONIZADO DE LA CABEZA DEL PILOTO CON SUPERFICIES DE VUELO -->
  <animation>      
    <type>rotate</type>
    <object-name>tete</object-name>
    <property>controls/flight/elevator</property>
    <factor> -15 </factor> 
    <center>
      <x-m>  0.307 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.295 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>tete</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> -10 </factor>
    <center>
      <x-m>  0.307 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.295 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation> 

  <!-- Pédales (CORREGIDO ERROR DE LAS PIERNAS QUE SE MOVÍAN AL CONTRARIO QUE LOS PEDALES) --> 
  <!--gauche-->
  <animation>
    <type>rotate</type>
    <object-name>cuisseG</object-name>
    <object-name>jambeG</object-name>
    <object-name>piedG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -10 </factor>
    <center>
      <x-m>  0.237 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.175 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>jambeG</object-name>
    <object-name>piedG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -16 </factor>
    <center>
      <x-m> -0.131 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.117 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>
  
  <!--droite-->
  <animation>
    <type>rotate</type>
    <object-name>cuisseD</object-name>
    <object-name>jambeD</object-name>
    <object-name>piedD</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -10 </factor>
    <center>
      <x-m>  0.237 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.175 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>jambeD</object-name>
    <object-name>piedD</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -16 </factor>
    <center>
      <x-m> -0.131 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.117 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
  
  <!-- Animation du bras gauche en fonction du throttle -->
  <animation>
    <name>BrasComplet</name>
    <object-name>brasG</object-name>
    <object-name>avantbrasG</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.367 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.185 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>avantbrasG</object-name>
    <property>controls/engines/engine/throttle</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -30 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -60 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.290 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.078 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
  
</PropertyList>
