<?xml version="1.0"?>
<PropertyList>
	<path>hydraulic.ac</path>
	<!--pick objects-->
	<animation>
		<type>pick</type>
		<object-name>pick-wheels-up</object-name>
		<visible>false</visible>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>hydraulic.hydraulicLever(-1,1)</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>pick-wheels-neutral</object-name>
		<visible>false</visible>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>hydraulic.hydraulicLever(-1,0)</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>pick-wheels-down</object-name>
		<visible>false</visible>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>hydraulic.hydraulicLever(-1,-1)</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>pick-flaps-up</object-name>
		<visible>false</visible>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>hydraulic.hydraulicLever(1,1)</script>
			</binding>
		</action>

	</animation>

	<animation>
		<type>pick</type>
		<object-name>pick-flaps-neutral</object-name>
		<visible>false</visible>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>hydraulic.hydraulicLever(1,0)</script>
			</binding>
		</action>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>pick-flaps-down</object-name>
		<visible>false</visible>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>hydraulic.hydraulicLever(1,-1)</script>
			</binding>
		</action>
	</animation>

	<!-- animations -->
	<animation>
		<type>rotate</type>
		<object-name>lever</object-name>
		<property>controls/hydraulic/lever[0]</property>
		<interpolation>
			<entry>
				<ind>-1</ind>
				<dep>-3.5</dep>
			</entry>
			<entry>
				<ind>0</ind>
				<dep>-1</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>1</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.078</x-m>
			<y-m>-0.059</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>lever</object-name>
		<property>controls/hydraulic/lever[1]</property>
		<interpolation>
			<entry>
				<ind>-1</ind>
				<dep>-12.5</dep>
			</entry>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>12.5</dep>
			</entry>
		</interpolation>
		<center>
			<x-m>-0.078</x-m>
			<y-m>-0.059</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>
	

	<!--<animation>
    <type>material</type>
    <condition>
      <greater-than>
        <property>/controls/lighting/panel-norm[1]</property>
        <value>0</value>
      </greater-than>
      <property>/sim/rendering/rembrandt/enabled</property>
    </condition>
    <emission>
      <factor-prop>/controls/lighting/panel-norm</factor-prop>
      <red>0.0</red>
      <green>0.0</green>
      <blue>0.0</blue>
    </emission>
  </animation>-->

	<animation>
		<type>material</type>
		<condition>
			<greater-than>
				<property>/controls/lighting/panel-norm</property>
				<value>0</value>
			</greater-than>
			<not>
				<property>/sim/rendering/rembrandt/enabled</property>
			</not>
		</condition>
		<emission>
			<factor-prop>/controls/lighting/panel-norm</factor-prop>
			<red>0.75</red>
			<green>0.25</green>
			<blue>0.25</blue>
		</emission>
	</animation>
</PropertyList>
