<_templates Include="trucks" />
<TruckAddon IsChassisFullOcclusion="true">
	<PhysicsModel Mesh="trucks/John_Deere_Lesovoz">
		<Body Collisions="None" ImpactType="Truck"  Mass="2000">
			<Constraint Type="Fixed" />

							<Body Collisions="None" Mass="1000" ModelFrame="BonePovorot_grap_cdt">
								<Constraint
									AxisLocal="(0;1;0)"
									MinLimit="-40"
									MaxLimit="40"
									Type="Hinge"
								>
									<Motor Damping="1000" Spring="5000" Type="Spring" />
								</Constraint>
							<Body Collisions="Internal" Mass="500" ModelFrame="BoneOsnova_grap_cdt">
								<Constraint
									AxisLocal="(0;0;1)"
									MinLimit="-30"
									MaxLimit="30"
									Type="Hinge"
								>
									<Motor Damping="1000" Spring="50000" Type="Spring" />
								</Constraint>

			<Body ImpactType="Truck" Collisions="Internal" Mass="400" ModelFrame="BoneGrappler1_cdt">
				<Constraint
					AxisLocal="(-1; 0; 0)"
					MinLimit="-30"
					MaxLimit="80"
					Name="Foot2"
					Type="Hinge"
				>
					<Motor Force="50000" Tau="0.04" Type="Position" />
				</Constraint>
		        </Body>
			<Body ImpactType="Truck" Collisions="Internal" Mass="400" ModelFrame="BoneGrappler2_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-30"
					MaxLimit="80"
					Name="Foot2"
					Type="Hinge"
				>
					<Motor Force="50000" Tau="0.04" Type="Position" />
				</Constraint>
		</Body>
		</Body>
		</Body>
		</Body>
	</PhysicsModel>
    <PoweredConstraints></PoweredConstraints>
	<ControlledConstraints>
		<Constraint Id="Grappler_1"  Name="Foot2" />
	</ControlledConstraints>
	<AutomaticIK>
		<IKBone ModelFrame="CylinderN1" ParentFrame="BoneGrappler1_cdt">
			<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			<IKBone
				AttachOffset="(0.0; 0.0; 0)"
				AttachToFrame="BoneOsnova_grap_cdt"
				ModelFrame="CylinderN3"
			>
				<IKJoint AxisLocal="(0;0;1)" Type="Slider" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="CylinderN4" ParentFrame="BoneGrappler2_cdt">
			<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			<IKBone
				AttachOffset="(0.0; 0.0; 0)"
				AttachToFrame="BoneOsnova_grap_cdt"
				ModelFrame="CylinderN2"
			>
				<IKJoint AxisLocal="(0;0;1)" Type="Slider" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<GameData>
		<LoadArea
			Min="(-10.0; 3.257; -1.2)"
			Max="(-1.0; 1.057; 1.2)"
			Type="LongLogs"
			ParentFrame="Bone_Cart_vidv"
		/>
		<InstallSocket Type="John_Deere_Lesovoz" Offset="(0.0; 0; 0.0)" />
	</GameData>
</TruckAddon>
