<?xml version="1.0" encoding="UTF-8"?>

<!-- Attitude -->

<PropertyList>

  <path>ai.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>cadran</object-name>
    <object-name>face</object-name>
    <object-name>RollPtr</object-name>
    <object-name>aircraft</object-name>
    <object-name>HorizonLine</object-name>

    <object-name>vitre</object-name>
  </animation>

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

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>vitre</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>cadran</object-name>
    <object-name>RollPtr</object-name>
    <object-name>aircraft</object-name>
    <object-name>HorizonLine</object-name>
    <emission>
      <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.50 </red>
      <green> 0.25 </green>
      <blue>  0.25 </blue>
    </emission> 
  </animation>    

  <animation>
    <type>rotate</type>
    <object-name>RollPtr</object-name>
    <object-name>HorizonLine</object-name>
    <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>HorizonLine</object-name>
    <property>orientation/pitch-deg</property>
    <!--<property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>-->
    <interpolation>
      <entry><ind> -90 </ind><dep>  0.04 </dep></entry>
      <entry><ind> -40 </ind><dep>  0.04 </dep></entry>
      <entry><ind> -20 </ind><dep>  0.02 </dep></entry>
      <entry><ind>   0 </ind><dep>  0.00 </dep></entry>
      <entry><ind>  20 </ind><dep> -0.02 </dep></entry>
      <entry><ind>  40 </ind><dep> -0.04 </dep></entry>
      <entry><ind>  90 </ind><dep> -0.04 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>
 
</PropertyList>
