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

<PropertyList>

  <path>trolley.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>axeCA1</object-name>
    <object-name>axeCA2</object-name>
    <object-name>roueCA</object-name>
    <object-name>roueCG</object-name>
    <object-name>roueCD</object-name>
    <object-name>armature</object-name>

    <!-- Objets transparents -->
  </animation>

  <animation>
    <name>TheTrolley</name>
    <object-name>axeCA1</object-name>
    <object-name>axeCA2</object-name>
    <object-name>roueCA</object-name>
    <object-name>roueCG</object-name>
    <object-name>roueCD</object-name>
    <object-name>armature</object-name>
  </animation>

  <animation>
    <type>select</type>
    <object-name>TheTrolley</object-name>
    <condition>
      <equals>
        <property>gear/gear/position-norm</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <name>GearA</name>
    <object-name>roueCA</object-name>
    <object-name>axeCA2</object-name>
  </animation>

  <!-- Effets sur le sol -->
  <!-- Roue gauche -->
  <model>
    <path>../Effects/ground/ground1.xml</path>
    <offsets>
      <x-m> -0.748 </x-m>
      <y-m> -1.458 </y-m>
      <z-m> -2.906 </z-m>
    </offsets>
  </model>

  <!-- Roue droite -->
  <model>
    <path>../Effects/ground/ground2.xml</path>
    <offsets>
      <x-m> -0.748 </x-m>
      <y-m>  1.458 </y-m>
      <z-m> -2.906 </z-m>
    </offsets>
  </model>

  <!-- Compression -->
  <animation>
    <type>rotate</type>
    <object-name>GearA</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <factor> -15 </factor>
    <center>
      <x-m> -5.185 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.940 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueCA</object-name>
    <!-- <property>gear/gear[0]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[8]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -4.702 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -2.362 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueCG</object-name>
    <!-- <property>gear/gear[1]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[9]</property>
    <factor> 30 </factor>
    <center>
      <x-m>  0.748 </x-m>
      <y-m> -1.458 </y-m>
      <z-m> -2.180 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueCD</object-name>
    <!-- <property>gear/gear[2]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[10]</property>
    <factor> 30 </factor>
    <center>
      <x-m>  0.748 </x-m>
      <y-m>  1.458 </y-m>
      <z-m> -2.180 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

</PropertyList>
