﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="shovel_animated">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Agrovector Silage Fork</en>
        <de>Agrovector Silozange</de>
    </name>
    <filename>data/vehicles/steerable/deutz/deutzAgrovectorSilageFork.i3d</filename>

    <size width="2.5" length="2" />

    <attacherJoint index="0" jointType="telehandler" fixedRotation="true" topReferenceNode="1"/>

    <shovel tipReferenceNode="2" openNode="4" openRotation="70"/>
    <fillPlanes>
        <fillPlane type="manure">
            <node index="1|0">
				<key time="0"   translation="0.012 0.389 0.255" scale="1 1 0.188"/>
                <key time="1"   translation="0.012 0.389 0.255" scale="1 1 1"/>		
			</node>
        </fillPlane>
        <fillPlane type="silage">
            <node index="1|1">
				<key time="0"   translation="0.012 0.389 0.255" scale="1 1 0.188"/>
                <key time="1"   translation="0.012 0.389 0.255" scale="1 1 1"/>		
			</node>
        </fillPlane>
    </fillPlanes>
	
    <shovelTipTrigger index="0>5" />

    <fillTypes fruitTypes="manure silage"/>

    <massScale value="0.001" />
    <capacity>3000</capacity>

    <emptyParticleSystems>
        <emptyParticleSystem type="manure" position="0 0 0" rotation="0 180 0" file="data/vehicles/particleSystems/shovelEmptyParticleSystem.i3d" />
        <emptyParticleSystem type="silage" position="0 0 0" rotation="0 180 0" file="data/vehicles/particleSystems/shovelEmptyParticleSystem.i3d" />
    </emptyParticleSystems>

    <mouseControls>
        <mouseControl iconFilename="dataS2/menu/mouseControlsHelp/tool_dav_fork.png" mouseButton="RIGHT" mouseAxis="X" axis="AXIS_FRONTLOADER_TOOL2" />
    </mouseControls>

    <movingTools>
        <!-- mainForkMechanic -->
        <movingTool index="0>4" componentJointIndex="0" rotSpeed="60" rotAcceleration="450" speedFactor="0.3" rotMax="80" rotMin="0" axis="AXIS_FRONTLOADER_TOOL2" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_TOOL2" invertMouseAxis="false">
            <!-- cylinder hinge -->
            <dependentPart index="0>3" />
        </movingTool>
    </movingTools>

    <movingParts>
		<!-- hydraulics -->
        <movingPart index="0>3" referencePoint="0>4|0" referenceFrame="0>3" invertZ="true">
			<translatingPart index="0>3|0" />
        </movingPart>
    </movingParts>

    <components count="2">
        <component1 centerOfMass="0 0 0.18" solverIterationCount="14" />
        <component2 centerOfMass="0 0 0.2" solverIterationCount="14" />
        <joint component1="0" component2="1" index="0>4|1" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	</components>
	
	<schemaOverlay file="data/vehicles/schemas/implement2Schema.png" fileSelected="data/vehicles/schemas/implement2SchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="1 0"/>
	
</vehicle>