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

<PropertyList>

  <path>yokes.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>base</object-name>
    <object-name>yokeL</object-name>
    <object-name>yokeR</object-name>
    
    <!-- Objets transparents -->
  </animation>

  <!-- CLOCK -->
  <model>
    <name>ClockL</name>
    <path>Aircraft/Piaggio-P166/Models/Interior/Panel/Instruments/Yokes/clock/clock.xml</path>
    <offsets>
      <x-m>  0.07700 </x-m>
      <y-m> -0.32140 </y-m>
      <z-m>  0.77685 </z-m>
    </offsets>
  </model>
  
  <model>
    <name>ClockR</name>
    <path>Aircraft/Piaggio-P166/Models/Interior/Panel/Instruments/Yokes/clock/clock.xml</path>
    <offsets>
      <x-m> 0.07700 </x-m>
      <y-m> 0.32140 </y-m>
      <z-m> 0.77685 </z-m>
    </offsets>
  </model>
  
  <animation>
    <name>AllYokes</name>
    <object-name>base</object-name>
    <object-name>yokeL</object-name>
    <object-name>yokeR</object-name>
    <object-name>ClockL</object-name>
    <object-name>ClockR</object-name>
  </animation>

  <animation>
    <name>YokeLeft</name>
    <object-name>yokeL</object-name>
    <object-name>ClockL</object-name>
  </animation>
  
  <animation>
    <name>YokeRight</name>
    <object-name>yokeR</object-name>
    <object-name>ClockR</object-name>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>AllYokes</object-name>
    <property>controls/flight/elevator</property>
    <factor> -5 </factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>YokeLeft</object-name>
    <property>controls/flight/aileron</property>
    <factor> -30 </factor>
    <center>
      <x-m>  0.02420 </x-m>
      <y-m> -0.32094 </y-m>
      <z-m>  0.77702 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>YokeRight</object-name>
    <property>controls/flight/aileron</property>
    <factor> -30 </factor>
    <center>
      <x-m> 0.02420 </x-m>
      <y-m> 0.32094 </y-m>
      <z-m> 0.77702 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Yokes visible ou non -->
  <animation>
    <type>select</type>
    <object-name>AllYokes</object-name>
    <condition>
      <property>/sim/model/hide-yoke</property>
    </condition>
  </animation>
 
 </PropertyList>
