<?xml version="v1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="waterTrailer">
	<annotation>axerLS</annotation>
    <name>
    <en>Beczka na wode</en>
    <de>Beczka na wode</de>
    </name>
	<typeDesc>Beczka na wode</typeDesc>
    <filename>beczka.i3d</filename>

    <size width="4" length="9" lengthOffset="0.5" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0>0" radius="0.5" deltaY="0.07" suspTravel="0.1" spring="20" damper="50" mass="0.15" lateralStiffness="2" />
        <wheel driveMode="0" repr="0>1" radius="0.5" deltaY="0.07" suspTravel="0.1" spring="20" damper="50" mass="0.15" lateralStiffness="2" />
        <wheel driveMode="0" repr="1>0" radius="0.5" deltaY="0.07" suspTravel="0.1" spring="20" damper="50" mass="0.15" lateralStiffness="2" />
        <wheel driveMode="0" repr="1>1" radius="0.5" deltaY="0.07" suspTravel="0.1" spring="20" damper="50" mass="0.15" lateralStiffness="2" />
    </wheels>
    <brakeForce>1</brakeForce>
	<downForce>5</downForce>
	

	<lightCoronas>
		<lightCorona index="0>2|0" />
	</lightCoronas>

	<brakeLights>
		<brakeLight index="0>2|1" />
	</brakeLights>

	
	<attacherJoint index="2>0" jointType="trailer" rootNode="2>"/>

	<trailerAttacherJoints>
        <trailerAttacherJoint index="0>3" low="false" maxRotLimit="10 80 80" />
    </trailerAttacherJoints>

    <massScale value="1" />

    <capacity>10000</capacity>
	<fillLitersPerSecond>400</fillLitersPerSecond>
    <fillTypes fillTypes="water"/>

    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />
	
	<waterTrailerFillTrigger index="0>6" />
	
	<support animationName="moveSupport" />
	
	<!-- move support wheel down/up -->
	<animations>
	    <animation name="moveSupport">
			<part node="0>5|2" startTime="0" endTime="0.05" visibility="false" />
			<part node="0>5|2" startTime="0.05" endTime="0.1" visibility="true" />
		</animation>
	</animations>

    <components count="3">
        <component1 centerOfMass="0 0 -2" solverIterationCount="35" />
        <component2 solverIterationCount="35" />
        <component3 solverIterationCount="35" />
        <joint component1="0" component2="1" index="1>3" rotLimit="0 120 0" transLimit="0 0 0" />
        <joint component1="1" component2="2" index="2>1" rotLimit="20 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">
        <attacherJoint position="0.5 0" rotation="0" invertX="false" />
    </schemaOverlay>

</vehicle>
