﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="defoliator_animated">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Grimme KS 75-4</en>
        <de>Grimme KS 75-4</de>
    </name>
	<typeDesc>$l10n_TypeDesc_HaulmTopper</typeDesc>
    <filename>data/vehicles/tools/grimme/grimmeKS75-4.i3d</filename>

	<size width="4.5" length="3" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="9" radius="0.313" deltaY="0.025" suspTravel="0.05" spring="500" damper="20" mass="0.01" lateralStiffness="2" />
        <wheel driveMode="0" repr="10" radius="0.313" deltaY="0.025" suspTravel="0.05" spring="500" damper="20" mass="0.01" lateralStiffness="2" />
    </wheels>

    <brakeForce>0.05</brakeForce>

	<fruitPreparer fruitType="potato" />

	<fruitPreparerAreas>
		<fruitPreparerArea startIndex="0>4" widthIndex="0>5" heightIndex="0>6" />
	</fruitPreparerAreas>

	<turnedOnRotationNodes>
		<turnedOnRotationNode index="12|0" rotSpeed="3000" />
	</turnedOnRotationNodes>

    <attacherJoint index="0>0" jointType="implement" topReferenceNode="0>1"  lowerDistanceToGround="0.5" transLimitScale="0 0 0"/>
	<powerTakeoffInput index="0>7" rotSpeed="0" />

    <fruitPreparerSound file="data/vehicles/tools/grimmeKS75.wav" pitchOffset="1" volume="1" />

	<fruitPreparerGroundReferenceNode index="0>" threshold="0.35" />

    <movingTools>
        <!-- support -->
        <movingTool index="0>11" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>

    <animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>11" startTime="0" duration="0.2" startTrans="0.293 0.44 -0.719" endTrans="0.2931 0.002 -0.71913" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

	<components count="2">
        <component1 centerOfMass="0 0 0" solverIterationCount="8" />
        <component2 centerOfMass="0 0 0" solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>11|0" 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>