<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="ih62">
    <name>
        <en>IH 6.2</en>
        <de>IH 6.2</de>
    </name>
    <typeDesc>
        <en>IH 6.2</en>
        <de>IH 6.2</de>
    </typeDesc>
    <filename>ih62.i3d</filename>

    <size width="8" length="12.0" lengthOffset="4" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="1>0" radius="0.5" deltaY="0" suspTravel="0.05" spring="180" damper="1" mass="1" />
        <wheel driveMode="0" repr="1>1" radius="0.5" deltaY="0" suspTravel="0.05" spring="180" damper="1" mass="1" />
        <wheel driveMode="0" repr="1>2" radius="0.5" deltaY="0" suspTravel="0.05" spring="180" damper="1" mass="1" />
        <wheel driveMode="0" repr="1>3" radius="0.5" deltaY="0" suspTravel="0.05" spring="180" damper="1" mass="1" />
    </wheels>

    <maxSpeedLevel value="2"/>
	
    <brakeForce>3</brakeForce>
    <downForce>4</downForce>
	
	<lights count="1">
        <light1 index="1|0|11" />
    </lights>
	
      <attacherJoint index="5" jointType="trailerLow"/>
	
    <cuttingAreas count="6">
        <cuttingArea1 startIndex="1|0|0|1" widthIndex="1|0|0|2" heightIndex="1|0|0|3"/>
	<cuttingArea2 startIndex="1|0|1|1" widthIndex="1|0|1|2" heightIndex="1|0|1|3"/>
	<cuttingArea3 startIndex="1|0|2|0|1" widthIndex="1|0|2|0|2" heightIndex="1|0|2|0|3"/>
	<cuttingArea4 startIndex="1|0|3|0|1" widthIndex="1|0|3|0|2" heightIndex="1|0|3|0|3"/>
	<cuttingArea5 startIndex="1|0|4|0|1" widthIndex="1|0|4|0|2" heightIndex="1|0|4|0|3"/>
	<cuttingArea6 startIndex="1|0|5|0|1" widthIndex="1|0|5|0|2" heightIndex="1|0|5|0|3"/>
    </cuttingAreas>
	
	
    <groundParticleSystem position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d" />
	
    <aiLeftMarker index="2" />
    <aiRightMarker index="3" />
    <aiBackMarker index="4" />
    <aiForceTurnNoBackward value="true" />
	
	
	 <speedRotatingParts>
		<speedRotatingPart index="1|0|0|0" radius="0.3" foldMinLimit="0" foldMaxLimit="0.15" />
		<speedRotatingPart index="1|0|1|0" radius="0.3" foldMinLimit="0" foldMaxLimit="0.15" />
		<speedRotatingPart index="1|0|2|0|0" radius="0.3" foldMinLimit="0" foldMaxLimit="0.15" />
		<speedRotatingPart index="1|0|3|0|0" radius="0.3" foldMinLimit="0" foldMaxLimit="0.15" />
		<speedRotatingPart index="1|0|4|0|0" radius="0.3" foldMinLimit="0" foldMaxLimit="0.15" />
		<speedRotatingPart index="1|0|5|0|0" radius="0.3" foldMinLimit="0" foldMaxLimit="0.15" />
    </speedRotatingParts>
	
	<cultivatorSound file="$data/vehicles/tools/ploughSound.wav" pitchOffset="0.5" volume="1.6"/>   
	<cylinderedHydraulicSound file="$data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" />	
	
    <groundReferenceNode index="1|0|0|0" />


    <movingTools>
        <!-- support -->
        <movingTool index="0>6" componentJointIndex="1" anchorActor="0"></movingTool>

        
	<!-- wheelMount-->
	<movingTool index="0>1|0|12" componentJointIndex="0" anchorActor="0" >
		<!-- hydraulic -->
		<dependentPart index="0>1|0|6" />		
        </movingTool>
    </movingTools>

    <movingParts>
		<!-- wheelMount cylinder -->
        <movingPart index="0>1|0|6" referencePoint="0>1|0|12|1" referenceFrame="0>1|0|12|1" invertZ="false">
            <translatingPart index="0>1|0|6|0" />
        </movingPart>
    </movingParts>

    <animations>

        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>6" startTime="0" duration="0.6" startTrans="0 0.21093 -5.10032" endTrans="0 -0.34298 -5.10032" />
        </animation>

	<animation name="lowerAnimation">
            <part node="0>1|0|12" startTime="0" endTime="2.0" startRot="0 0 0" endRot="-27 0 0"/>
        </animation>
		
    </animations>
	
	<lowerAnimation name="lowerAnimation" speed="1" />
        <support animationName="moveSupport" />

	<animationParts>
		<animationPart rootNode="0>1|0|4|0" clipName="foldRearLeftClipSource" loadSave="false" numJoints="0" offSet="40" >
		</animationPart>
		<animationPart rootNode="0>1|0|5|0" clipName="foldRearRightClipSource" loadSave="false" numJoints="0" offSet="40" >
		</animationPart>
		<animationPart rootNode="0>1|0|3|0" clipName="foldFrontLeftClipSource" loadSave="false" numJoints="0" offSet="40" >
		</animationPart>
		<animationPart rootNode="0>1|0|2|0" clipName="foldFrontRightClipSource" loadSave="false" numJoints="0" offSet="40" >
		</animationPart>
	</animationParts>
	
	<lightsaddon lightsStayOn="false">
		<light type="dirLeft" index="8" />
		<light type="dirRight" index="7" />
		<light type="brake" index="1|0|14" />
	</lightsaddon>
	
    <components count="3">
        <component1 centerOfMass="0 0 -2" solverIterationCount="90" />
        <component2 centerOfMass="0 0 0" solverIterationCount="90" />
        <component3 centerOfMass="0 0.1 0" solverIterationCount="4" />

		<joint component1="0" component2="1" index="0>1|0|12|0" rotLimit="0 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="2" index="0>6|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
</vehicle>
