<Truck>
	<GameData>
		<WinchSocket Pos="(-5.612; 0.359; 0.754)" ParentFrame="BoneChassis" />
		<WinchSocket Pos="(-5.612; 0.359; -0.754)" ParentFrame="BoneChassis" />
		<WinchSocket Pos="(0; 0; 0)" ParentFrame="BoneHandle" />
		<InstallSocket Type="Pricep_pts" Offset="(0; 0; 0)" />
		<AddonSockets>
			<Socket Names="2pts_cart_stubs" Offset="(0; 0; 0)" ParentFrame="Base_cdt" />
		</AddonSockets>
		<LoadArea
			Min="(-6.5; 0.9; -1.34)"
			Max="(-4; 2.2; 1.34)"
			TrailerLoad="true"
			Type="ShortLogs"
			ParentFrame="Base_cdt"
		/>
		<LoadArea
			Min="(-3.7; 0.9; -1.34)"
			Max="(-1.7; 2.2; 1.34)"
			TrailerLoad="true"
			Type="ShortLogs"
			ParentFrame="Base_cdt"
		/>
	</GameData>
	<TruckData>
		<Camera Center="(-6.0; 0; 0)" />
		<Axles>
			<Axle Frame="frontAxleBone" LeftWheel="0" RightWheel="1" />
			<Axle Frame="rearAxleBone" LeftWheel="2" RightWheel="3" />
		</Axles>
		<Constraint
			PlaneAxisLocal="(0; 0; 1)"
			PlaneMin="-60"
			PlaneMax="60"
			TwistAxisLocal="(1; 0; 0)"
			TwistMin="-30"
			TwistMax="30"
			Type="Ragdoll"
		>
			<TwistMotor Damping="6000" Spring="10000" Type="Spring" />
		</Constraint>
		<OcclusionMap
			HalfSizeZ="1.5"
			MinX="-5.9"
			MaxX="-1.9"
			ParentFrame="BoneChassis"
		/>
	</TruckData>
	<PhysicsModel Mesh="trucks/7rmm849f">
		<Body ModelFrame="BoneHandle" Mass="100" ImpactType="Truck">
			<Body ModelFrame="BoneCart" Mass="300" ImpactType="Truck">
				<Constraint
					Type="Hinge"
					MinLimit="-30"
					MaxLimit="30"
					AxisLocal="(0; 0; 1)"
				/>
				<Body Mass="300" ModelFrame="BoneChassis">
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-60"
						MaxLimit="60"
						Type="Hinge"
						Name="fix"
					>
						<Motor Damping="1000" Type="Spring" Spring="3000" />
					</Constraint>
					<Body ImpactType="Truck" Mass="250" ModelFrame="Base_cdt">
						<Constraint
							Name="dumper"
							AxisLocal="(1;0;0)"
							MinLimit="0"
							MaxLimit="40"
							Type="Hinge"
							PivotOffset="(0;0;0.97)"
						>
							<Motor Force="50000" Type="Position" />
						</Constraint>
						<Body Mass="50" ModelFrame="BortL_cdt" ImpactType="Truck">
							<Constraint
								AxisLocal="(1;0;0)"
								MinLimit="-1"
								MaxLimit="120"
								Name="bort_l"
								Type="Hinge"
							>
								<Motor Type="Position" Force="10000" />
							</Constraint>
						</Body>
						<Body Mass="50" ModelFrame="BortR_cdt" ImpactType="Truck">
							<Constraint
								AxisLocal="(1;0;0)"
								MinLimit="-1"
								MaxLimit="1"
								Type="Hinge"
							>
								<Motor
									Damping="100"
									Type="Spring"
									Spring="100"
									Tau="0.01"
								/>
							</Constraint>
						</Body>
						<Body Mass="50" ModelFrame="BortB_cdt">
							<Constraint
								AxisLocal="(0; 0; -1)"
								MinLimit="-120"
								MaxLimit="0"
								Name="bort"
								Type="Hinge"
							>
								<Motor Type="Position" Force="10000" Tau="0.03" />
							</Constraint>
						</Body>
					</Body>
					<Body ModelFrame="MgL_cdt" Mass="30" Collisions="None">
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="-10"
							MaxLimit="20"
							Type="Hinge"
						>
							<Motor Damping="30" Type="Spring" Spring="70" />
						</Constraint>
					</Body>
					<Body ModelFrame="MgR_cdt" Mass="30" Collisions="None">
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="-10"
							MaxLimit="20"
							Type="Hinge"
						>
							<Motor Damping="30" Type="Spring" Spring="70" />
						</Constraint>
					</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<PoweredConstraints>
		<Group Id="Cart rotation lock" IsExplicitSound="true">
			<Constraint Name="fix" Position="0" TerminalFix="true">
				<Motor Type="Position" Force="100000" />
			</Constraint>
		</Group>
		<Group Id="Open rear bort" IsExplicitSound="true">
			<Constraint Name="bort" Position="-120" />
		</Group>
		<Group Id="Open left bort" IsExplicitSound="true">
			<Constraint Name="bort_l" Position="120" />
		</Group>
	</PoweredConstraints>
	<ControlledConstraints>
		<Constraint Id="Dumper" Name="dumper" />
	</ControlledConstraints>
	<AutomaticIK>
		<IKBone
			ModelFrame="cylinder"
			ParentFrame="BoneChassis"
			AttachOffset="(0; 0.700; -0)"
			AttachToFrame="Base_cdt"
		>
			<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			<IKBone
				ModelFrame="piston"
				ParentFrame="cylinder"
				AttachOffset="(0; 0.66; 0)"
				AttachToFrame="Base_cdt"
			>
				<IKJoint AxisLocal="(0;1;0)" Type="Slider" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<ModelAttachments>
		<Ignition>
			<Flare
				ParentFrame="BoneChassis"
				Pos="(-5.767; 0.472; 0.936)"
				Size="0.2"
				SizeMultAtDay="0"
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(-1;0;0)"
				DirAngle="90"
			/>
			<Flare
				ParentFrame="BoneChassis"
				Pos="(-5.767; 0.472; -0.936)"
				Size="0.2"
				SizeMultAtDay="0"
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(-1;0;0)"
				DirAngle="90"
			/>
		</Ignition>
		<StopSignals>
			<Flare
				ParentFrame="BoneChassis"
				Color="g(255; 82; 82)"
				Pos="(-5.767; 0.472; 0.936)"
				Size="0.3"
				SizeMultAtDay="1.667"
				AspectRatio="1.4"
				ColorMultAtDay="0.6"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Reflections="true"
			/>
			<Flare
				ParentFrame="BoneChassis"
				Color="g(255; 82; 82)"
				Pos="(-5.767; 0.472; -0.936)"
				Size="0.3"
				SizeMultAtDay="1.667"
				AspectRatio="1.4"
				ColorMultAtDay="0.6"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Reflections="true"
			/>
			<Light
				Pos="(-5.767; 0.472; 0)"
				ParentFrame="BoneChassis"
				AttenEnd="2.0"
				Color="(102; 1; 1) x 4"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="160"
			/>
		</StopSignals>
	</ModelAttachments>
	<Wheels
		HardpointDefaultY="-0.01"
		HardpointDefaultZ="1"
	>
		<Wheel
			HardpointX="-2.606"
			ParentFrame="BoneCart"
			SuspensionMin="-0.12"
			SuspensionStrength="0.025"
			SuspensionDamping="0.2"
			Type="Pricep2"
		/>
		<Wheel
			HardpointX="-2.606"
			ParentFrame="BoneCart"
			RightSide="true"
			SuspensionMin="-0.12"
			SuspensionStrength="0.025"
			SuspensionDamping="0.2"
			Type="Pricep2"
		/>
		<Wheel
			HardpointX="-5.17"
			HardpointY="0.06"
			ParentFrame="BoneChassis"
			SuspensionMin="-0.12"
			SuspensionStrength="0.025"
			SuspensionDamping="0.2"
			Type="Pricep2"
		/>
		<Wheel
			HardpointX="-5.17"
			HardpointY="0.06"
			ParentFrame="BoneChassis"
			RightSide="true"
			SuspensionMin="-0.12"
			SuspensionStrength="0.025"
			SuspensionDamping="0.2"
			Type="Pricep2"
		/>
	</Wheels>
</Truck>
