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

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>interieur</object-name>
    <object-name>inttour</object-name>
    <object-name>inttourcanopy</object-name>
    <object-name>intcanopy</object-name>

    <!-- Objets transparents -->
    <object-name>inttrscanopy</object-name>
    <object-name>intvitres</object-name>
  </animation>

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Aircraft/Heinkel-He-178/Models/Effects/Glass/glass</inherits-from>
    <object-name>inttrscanopy</object-name>
    <object-name>intvitres</object-name>
  </effect>
  
  <!-- Pilote -->
  <model>
    <path>Aircraft/Heinkel-He-178/Models/Pilot/pilot.xml</path>
    <offsets>
      <x-m> -2.118 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.292 </z-m>
    </offsets>
  </model>

  <!-- Tableau de bord -->
  <model>
    <path>Aircraft/Heinkel-He-178/Models/Interior/Panels/panel.xml</path>
    <offsets>
      <x-m> -2.503 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.059 </z-m>
    </offsets>
  </model>

  <!-- Canopy -->
  <animation>
    <name>IntAllCanopy</name>
    <object-name>inttourcanopy</object-name>
    <object-name>intcanopy</object-name>
    <object-name>inttrscanopy</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>IntAllCanopy</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.crew.toggle();</script>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>translate</type>
    <object-name>IntAllCanopy</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 0.64 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>IntAllCanopy</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 0.14 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

</PropertyList>

