<ogreode>
    
	
	<!-- Create the vehicle using the supplied name and body mesh, make it 1.5 units heavy
		 e.g. tonnes and offset the center of gravity by half (a metre) to make it more stable
		 This puts the CoG somewhere around the wheel hubs, which is probably reasonably
		 realistic for a sports-car -->
    <vehicle name="Jeep">

        <body mesh="jeep_body.mesh">
		  <mass value="3" x="0" y="-1" z="0" />
        </body>

        <wheel mesh="jeep_wheell.mesh" x="1" y="-1.1" z="1.8" mass="0.06">
            <steer factor="1" force="8.0" speed="4.0" limit="0.75" />
            <brake factor="0.75" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.5" fds="0.004" />
        </wheel>
        <wheel mesh="jeep_wheelr.mesh" x="-1" y="-1.1" z="1.8" mass="0.06">
            <steer factor="1" force="8.0" speed="4.0" limit="0.75" />
            <brake factor="0.75" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.5" fds="0.004" />
        </wheel>
        <wheel mesh="jeep_wheell.mesh" x="1" y="-1.1" z="-1.6" mass="0.06">
            <brake factor="0.25" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.5" fds="0.004" />
        </wheel>
        <wheel mesh="jeep_wheelr.mesh" x="-1" y="-1.1" z="-1.6" mass="0.06">
            <brake factor="0.25" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.5" fds="0.004" />
        </wheel>

		<suspension spring="100" damping="3.6" step="0.01" />

		<engine redline="30.0" brake="15.0">
            <torque min="0.5" max="10.0" />
        </engine>
    </vehicle>
    
    <!-- Same but with antisway -->
    <vehicle name="JeepSway">

        <body mesh="jeep_body.mesh">
		  <mass value="3" x="0" y="-1" z="0" />
        </body>

        <wheel mesh="jeep_wheell.mesh" x="1" y="-1.1" z="1.8" mass="0.06">
            <steer factor="1" force="8.0" speed="4.0" limit="0.75" />
            <brake factor="0.75" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.25" fds="0.004" />
        </wheel>
        <wheel mesh="jeep_wheelr.mesh" x="-1" y="-1.1" z="1.8" mass="0.06">
            <steer factor="1" force="8.0" speed="4.0" limit="0.75" />
            <brake factor="0.75" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.25" fds="0.004" />
        </wheel>
        <wheel mesh="jeep_wheell.mesh" x="1" y="-1.1" z="-1.6" mass="0.06">
            <brake factor="0.25" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.25" fds="0.004" />
        </wheel>
        <wheel mesh="jeep_wheelr.mesh" x="-1" y="-1.1" z="-1.6" mass="0.06">
            <brake factor="0.25" />
            <power factor="1.0" />
            <contact bouncyness="0.9" friction="1.25" fds="0.004" />
        </wheel>

		<suspension spring="70" damping="3.6" step="0.01" />

	<engine redline="40.0" brake="20.0">
            <torquecurve value="0.7" />
            <torquecurve value="1.3" />
            <torquecurve value="1.9" />
            <torquecurve value="02.5" />
        </engine>
        
        <antisway swayForce="200.0" forceLimit="5" rate="0.06"/>  
    </vehicle>
</ogreode>

