<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Lenktriebachse</en>
        <de>Lenktriebachse</de>
    </name>
    <filename>Lenktriebachse.i3d</filename>

    <size width="3.5" length="12.5"/>

    <powerConsumer ptoRpm="500" neededPtoPower="40"/>
    <speedLimit value="25" />

    <wheels autoRotateBackSpeed="1.0">
        <wheel  restLoad="2.5" repr="0>3|0|0" driveNode="0>3|0|0" radius="0.42" width="0.71" initialCompression="20" suspTravel="0.15" spring="40" damper="60" frictionScale="1.5" mass="0.25" hasTyreTracks="true" tyreTrackAtlasIndex="3" steeringAxleScale="-0.7" steeringAxleRotMax="25" steeringAxleRotMin="-25" />
        <wheel  restLoad="2.5" repr="0>3|1|0" driveNode="0>3|1|0" radius="0.42" width="0.71" initialCompression="20" suspTravel="0.15" spring="40" damper="60" frictionScale="1.5" mass="0.25" hasTyreTracks="true" tyreTrackAtlasIndex="3" steeringAxleScale="-0.7" steeringAxleRotMax="25" steeringAxleRotMin="-25" />
    </wheels>

    <brakeForce>1.5</brakeForce>

    <steeringAxleAngleScale startSpeed="5" endSpeed="90" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>0|2" jointType="trailer" indexPTO="0>4" />
    </inputAttacherJoints>
	
	<attacherJoints>
        <attacherJoint index="0>5" jointType="unitrac" allowsLowering="false" />
    </attacherJoints>
	
	<mouseControls>
		<mouseControl iconFilename="textures/Deichel_arm.dds"  axis="AXIS_Deichel" />
    </mouseControls>

	<movingTools>
	    <movingTool index="0>0" inputAttacherJoint="true" rotSpeed="25" rotAcceleration="100" rotMax="11" rotMin="-21" axis="AXIS_Deichel" invertAxis="true" mouseAxis="AXIS_Deichel" invertMouseAxis="false" speedFactor="0.3" rotationAxis="1" >
            <dependentPart index="0>2" />
        </movingTool>
	</movingTools>
	
	<movingParts>
        <movingPart index="0>" referencePoint="0>" referenceFrame="0>">
            <translatingPart index="0>" />
        </movingPart>
        <movingPart index="0>2" referencePoint="0>0|5" referenceFrame="0>" >
            <translatingPart index="0>2|0" />
        </movingPart>
    </movingParts>
	
	<animations>
        <animation name="moveSupport">
            <part node="0>0|0" startTime="0" duration="1" startTrans="-0.771 -0.172 0.317" endTrans="-0.771 -0.55 0.317" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
    </driveGroundParticleSystems>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
