<_templates Include="trucks">
	<Wheel>
		<Wheel
			SuspensionMin="-3.0"
			SuspensionMax="3.0"
			SuspensionStrength="0.1"
			Torque="default"
			Type="Nami_wheels"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.225"
		HardpointDefaultZ="1.13"
	>
		<Wheel _template="Wheel" HardpointX="-6.498" ParentFrame="Balancing_trolley_rear_cdt" />
		<Wheel _template="Wheel" HardpointX="-6.498" ParentFrame="Balancing_trolley_rear_cdt" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-8.167" ParentFrame="Balancing_trolley_rear_cdt" />
		<Wheel _template="Wheel" HardpointX="-8.167" ParentFrame="Balancing_trolley_rear_cdt" RightSide="true" />
	</Wheels>
	<TruckData TrailerCanDetach="true">
		<OcclusionMap
			HalfSizeZ="1.5"
			MinX="-8.8"
			MaxX="-5.9"
                        ParentFrame="Bone_Trailer"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<Constraint _template="TrailerRagdoll">
			<PlaneConeMotor Damping="6000" Spring="20000" Type="Spring" />
		</Constraint>
		<Camera Center="(-6.0; 0; 0)" ParentFrame="Bone_Trailer" />
		<Axles>
			<Axle Frame="BoneAxle3" />
			<Axle Frame="BoneAxle4" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/Nami_trailer_cart">
		<Body ImpactType="Truck" Collisions="All" Mass="2000">
						<Body Collisions="All" Mass="500" Friction="2.0" ModelFrame="Bone_Fork">
							<Constraint
									AxisLocal="(0;1;0)"
									MinLimit="-45"
									MaxLimit="45"
									Type="Hinge"
							>
								<Motor Damping="500" Spring="10000" Type="Spring" />
							</Constraint>
		         </Body>
							<Body Collisions="None" Mass="1000" ModelFrame="Balancing_trolley_rear_cdt">
								<Constraint
									AxisLocal="(0;0;1)"
									MinLimit="-15"
									MaxLimit="15"
									Type="Hinge"
								>
									<Motor Damping="0" Spring="100000" Type="Spring" />
								</Constraint>
		         </Body>
		</Body>
	</PhysicsModel>

	<GameData>
		<WinchSocket Pos="(-2.767; 0.936; 0)" ParentFrame="Bone_Trailer" />
		<WinchSocket Pos="(-8.41; 0.922; 0)" ParentFrame="Bone_Trailer" />
		<RequiredAddon Types="Nami_cart" />
		<InstallSocket Offset="(-2.761; 0.942; 0.0)" Type="Nami_trailer_cart" />
		<LoadArea Min="(-5.48; 1.352; -1.475)" Max="(-9.192; 3.525; 1.475)" Type="LongLogs" />
	</GameData>


</Truck>
