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

<PropertyList>

  <path>propellerR.ac</path>

  <animation>
    <object-name>helice</object-name>
    <object-name>bol</object-name>

    <!-- transparent objects -->
    <object-name>propdisc</object-name>
    <object-name>propblur</object-name>
  </animation>

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
  </effect>

  <effect>
    <inherits-from>../Effects/Bump/bumpspec-e</inherits-from>
    <object-name>bol</object-name>
  </effect>

  <!-- L'hélice -->
  <animation>
    <name>HeliceComplete</name>
    <object-name>propdisc</object-name>
    <object-name>propblur</object-name>
    <object-name>helice</object-name>
    <object-name>bol</object-name>
  </animation>

  <!-- Sélection/désélection en fonction des rpm moteurs -->
  <!-- On sélectionne l'un des disques en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdisc</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[4]/rpm</property>
        <value>1500</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblur</object-name>
    <condition>
    <and>
      <greater-than>
        <property>engines/engine[4]/rpm</property>
        <value>600.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[4]/rpm</property>
        <value>1500.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

  <!-- On sélectionne l'hélice si rpm inférieur à  1000 -->
  <animation>
    <type>select</type>
    <object-name>helice</object-name>
    <condition>
      <less-than>
        <property>engines/engine[4]/rpm</property>
        <value>1500</value>
      </less-than>
    </condition>
  </animation>

  <!-- Rotation de l'hélice -->
  <animation>
    <type>spin</type>
    <object-name>HeliceComplete</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[4]/rpm</property>
        <value> 10 </value>
      </greater-than>
    </condition>
    <property>engines/engine[4]/rpm</property>
    <factor> 1 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>

