<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cutter_animated">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	<typeDesc>$l10n_TypeDesc_CornCutter</typeDesc>
    <filename>NHCornCutter.i3d</filename>

    <size width="8" length="4.0" />

	<rolls>
		<roll index="0" speed="0.009" />
		<roll index="8|0|0" speed="0.009" />
		<roll index="9|0|0" speed="0.009" />
		<roll index="8|0|3|0" speed="0.009" />
		<roll index="9|0|3|0" speed="0.009" />
	</rolls>
	
    <sidearms index="0" movable="false" />

	<cuttingAreas count="1">
        <cuttingArea1 startIndex="1" widthIndex="2" heightIndex="3" losing="false" foldMinLimit="0" foldMaxLimit="0.1" />
    </cuttingAreas>

    <attacherJoint index="4" jointType="cutter"/>

    <aiLeftMarker index="5" />
    <aiRightMarker index="6" />
    <aiTrafficCollisionTrigger index="7" />

    <threshingParticleSystem position="0 0 -1" rotation="0 0 0" file="$data/vehicles/particleSystems/threshingCutterMiddleParticleSystem.i3d" />
    <preferedCombineSize>3</preferedCombineSize>
    <fruitTypes fruitTypes="maize corn tobacco"/>
	
	<cylinderedHydraulicSound file="$data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" />
	
    <movingTools>
		
		<!-- rightPart -->
        <movingTool index="0>8|0">
            <!-- lift hydraulic -->
            <dependentPart index="0>10|1|0" />
        </movingTool>	
		
		<!-- leftPart -->
        <movingTool index="0>9|0">
            <!-- lift hydraulic -->
            <dependentPart index="0>10|0|0" />
        </movingTool>
		
    </movingTools>
	
    <movingParts>
   
		<!-- right arm cylinder -->
        <movingPart index="0>10|1|0" referencePoint="0>8|0|2" referenceFrame="0>10" invertZ="true">
            <translatingPart index="0>10|1|0|0" />
        </movingPart>		
		
		<!-- left arm cylinder -->
        <movingPart index="0>10|0|0" referencePoint="0>9|0|2" referenceFrame="0>10" invertZ="true">
            <translatingPart index="0>10|0|0|0" />
        </movingPart>
		
    </movingParts>	
	
	
	<foldingParts>
        <foldingPart componentJointIndex="0" anchorActor="0" animationName="rightFold" speedScale="1.2" />
        <foldingPart componentJointIndex="1" anchorActor="0" animationName="leftFold" speedScale="1.2" />
    </foldingParts>
	
    <animations>
        <animation name="rightFold">
            <part node="0>8|0" startTime="0" endTime="10.0" startRot="0 0 0 " endRot="0 0 180"/>
        </animation>
		<animation name="leftFold">
            <part node="0>9|0" startTime="0" endTime="10.0" startRot="0 0 0" endRot="0 0 -180"/>
        </animation>
    </animations>
	
    <components count="3">
        <component1 centerOfMass="0 0 -0.4" solverIterationCount="8" />
        <component2 centerOfMass="0 0 0" solverIterationCount="8" />
        <component3 centerOfMass="0 0 0" solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>8|0|1" rotLimit="0 0 0" transLimit="0 0 0" />
        <joint component1="0" component2="2" index="0>9|0|1" rotLimit="0 0 0" transLimit="0 0 0" />
		<collisionPair component1="1" component2="2" enabled="false"/>
    </components>
	
</vehicle>
