<_templates Include="trucks">
	<Wheel>
		<Wheel
			Type="uaz"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.05"
			SuspensionStrength="0.01"
			Torque="default"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.4"
		HardpointDefaultZ="1.1"
	>
		<Wheel _template="Wheel" HardpointX="-8.145" />
		<Wheel _template="Wheel" HardpointX="-8.145" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-9.11" />
		<Wheel _template="Wheel" HardpointX="-9.11" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-10.074" />
		<Wheel _template="Wheel" HardpointX="-10.074" RightSide="true" />	
	</Wheels>
	<TruckData RepairsCapacity="400" >
		<OcclusionMap HalfSizeZ="1.75" MinX="-7.84" MaxX="1.36" />
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-7.0; 1; 0)" />
	</TruckData>
	<PoweredConstraints>
		<Group Id="foot_push">
			<Constraint Name="Foot" Position="-0.8" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/pricep_tral_tatra">
		<Body CenterOfMassOffset="(-2.0; -0.6; 0)" Mass="6000">	
			<Body
				ForceBodyParams="true"
				Mass="200"
				ModelFrame="BoneOpora_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-0.4"
					MaxLimit="0"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="16000" Type="Position" />
				</Constraint>
			</Body>
			<Body Mass="400" ModelFrame="BoneLapa_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="120"
					Name="trap"
					Type="Hinge"
				>
					<Motor Force="55000" Type="Position" />
				</Constraint>
			</Body>			  		
		</Body>
	</PhysicsModel>
	<GameData>
		<WinchSocket Pos="(-11.55; 0.7; 0.67)" />
		<WinchSocket Pos="(-11.55; 0.7; -0.67)" />
		<WinchSocket Pos="(0.437; 1.417; 0)" />	
		<InstallSocket Offset="(0; 1.0; 0.0)" Type="muka" />
	</GameData>
	<ControlledConstraints>
		<Constraint Id="trap" Name="trap" />
	</ControlledConstraints>
</Truck>

