﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="mower_animated">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Poettinger Eurocat 315H</en>
        <de>Pöttinger Eurocat 315H</de>
    </name>
	<typeDesc>$l10n_TypeDesc_Mower</typeDesc>
    <filename>data/vehicles/tools/poettinger/poettingerEurocat315H.i3d</filename>
    
    <size width="6.5" widthOffset="-2" length="2" />

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="2>0|1" widthIndex="2>0|2" heightIndex="2>0|3" foldMinLimit="0" foldMaxLimit="0.1"/>
    </cuttingAreas>

    <attacherJoint index="0>0|0" jointType="implement" topReferenceNode="0>0|1" lowerDistanceToGround="0.5990" upperDistanceToGround="0.5990" transLimitScale="0 0 0" rotLimitScale="0 0 0"/>

	<powerTakeoffInput index="0>0|2" rotSpeed="0" />

    <mowerSound file="data/vehicles/tools/mower.wav" pitchOffset="1" volume="0.5" />

	<groundReferenceNode index="2>" threshold="1.0" />

    <isDefaultLowered value="false"/>
    <needsLowering value="true" />
    <allowsLowering value="false" />

    <foldingParts startMoveDirection="-1" foldMiddleAnimTime="0.14">
        <foldingPart animationName="folding" speedScale="0.5" />
    </foldingParts>

	<animations>
		<animation name="folding">
			<part componentJointIndex="0" startTime="0.0" endTime="0.7" startRotLimit="0 0 25" endRotLimit="0 0 0" />
			<part componentJointIndex="1" startTime="0.0" endTime="0.7" startRotLimit="0 0 30" endRotLimit="0 0 0" />
			<part node="0>0|5|2" startTime="0.0" endTime="0.7" startRot="0 0 0" endRot="0 0 -10" />

			<part node="0>0|5|2" startTime="1.0" endTime="5.0" startRot="0 0 -10" endRot="0 0 -90" />
			<part node="0>0|5" startTime="1.0" endTime="5.0" startRot="0 0 0" endRot="0 -90 0" />
		</animation>
		<animation name="moveSupport">
            <part node="0>0|3" startTime="0" endTime="0.6" startTrans="0 0.57132 -0.3162" endTrans="0 0.1663 -0.3162"/>
        </animation>
    </animations>

	<movingTools>
		<movingTool index="0>0|5">
            <dependentPart index="0>0|5|2" />
			<dependentPart index="0>0|4" />
		</movingTool>
		<movingTool index="0>0|5|2" componentJointIndex="0" anchorActor="0" />

		<movingTool index="0>0|3" componentJointIndex="2" anchorActor="0"/>
    </movingTools>

    <movingParts>  
        <movingPart index="0>0|5|0" referencePoint="1>0|0" referenceFrame="1>0|0" isActiveDirty="true" scaleZ="true"/>
		<movingPart index="0>0|5|1" referencePoint="1>0|1" referenceFrame="1>0|1" isActiveDirty="true">
            <translatingPart index="0>0|5|1|0" />
        </movingPart>
		<movingPart index="0>0|6" referencePoint="2>0|0" referenceFrame="1>" isActiveDirty="true" scaleZ="true"/>
		<movingPart index="0>0|4" referencePoint="0>0|5|3" referenceFrame="0>">
            <translatingPart index="0>0|4|0" />
        </movingPart>
    </movingParts>

	<support animationName="moveSupport" />

	<components count="4">
        <component1 centerOfMass="0 0 0.1" solverIterationCount="30" />
		<component2 centerOfMass="0 0 0" solverIterationCount="30" />
		<component3 centerOfMass="-0.19 0.4142 -0.4831" solverIterationCount="30" />
		<component4 centerOfMass="0 0 0" solverIterationCount="20" />
		<joint component1="0"   component2="1"  index="0>0|5|2" rotLimit="0 0 0" transLimit="0 0 0" />
		<joint component1="2"   component2="1"  index="2>0" rotLimit="0 0 0" transLimit="0 0 0" />
		<joint component1="0"   component2="3"  index="0>0|3" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

    <schemaOverlay file="data/vehicles/schemas/implementSchema.png" fileSelected="data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>