<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer">
  <name>Cattle Trailer</name>
  <description>Cattle Trailer</description>
  <filename>vehicles/Cattle_Trailer/Cattle Trailer.i3d</filename>
  <size width="3.5" length="9.0" lengthOffset="-1.0" />
    <wheels autoRotateBackSpeed="2.0">
     <wheel driveMode="0" repr="1" radius="0.65" deltaY="0.01" suspTravel="0.2" spring="60" damper="0" mass="0.5" />
     <wheel driveMode="0" repr="2" radius="0.65" deltaY="0.01" suspTravel="0.2" spring="60" damper="0" mass="0.5" steeringAxleScale="-0.7" steeringAxleRotMax="20" steeringAxleRotMin="-20" />
     <wheel driveMode="0" repr="3" radius="0.65" deltaY="0.01" suspTravel="0.2" spring="60" damper="0" mass="0.5" steeringAxleScale="0.3" steeringAxleRotMax="15" steeringAxleRotMin="-15"/>
     <wheel driveMode="0" repr="4" radius="0.65" deltaY="0.01" suspTravel="0.2" spring="60" damper="0" mass="0.5" steeringAxleScale="-0.7" steeringAxleRotMax="20" steeringAxleRotMin="-20"/>
     <wheel driveMode="0" repr="5" radius="0.65" deltaY="0.01" suspTravel="0.2" spring="60" damper="0" mass="0.5" />
     <wheel driveMode="0" repr="6" radius="0.65" deltaY="0.01" suspTravel="0.2" spring="60" damper="0" mass="0.5" steeringAxleScale="0.3" steeringAxleRotMax="15" steeringAxleRotMin="-15"/>
    </wheels>
    <brakeForce>5</brakeForce>
    <capacity>1000</capacity>
    <fillTypes fruitTypes="calves cows milk clover silage" />
    <fillPlanes>
        <fillPlane type="calves">
            <node index="0|1">
                <key time="0" y="0.8409" scale="0.65 0.65 0.65"/>
                <key time="1" y="0.8409" scale="0.65 0.65 0.65"/>
            </node>
        </fillPlane>
        <fillPlane type="cows">
            <node index="0|0">
                <key time="0" y="1.26733" scale="1 1 1"/>
                <key time="1" y="1.26733" scale="1 1 1"/>
            </node>
        </fillPlane>
    </fillPlanes>
    <hydraulicSound file="vehicles/Cattle_Trailer/construction.wav" pitchOffset="0.9" volume="2.0" />
    <fillSound file="vehicles/Cattle_Trailer/bottleDropSound.wav" pitchOffset="1.0" volume="2.5" />
    <attacherJoint index="8" jointType="trailer"/>
    <tipReferencePoint index="7" />
    <tipAnimation rootNode="0>9|0" speedScale="1" clip="tipClipSource" />
    <tipDischargeEndTime value="15000" />
    <movingTools>
        <!-- support -->
        <movingTool index="0>17" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>
    <animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="17" startTime="0" duration="0.8" startTrans="0 -2.1553 4.35851" endTrans="0 -2.62644 4.35851" />
        </animation>
    </animations>
    <support animationName="moveSupport" />
	  <lights count="1">
      <light1 index="14" />
    </lights>    
    <components count="2">
        <component1 centerOfMass="0 -3 -2" solverIterationCount="20" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>17|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
</vehicle>