Problem: create vehicle engine

Snaky

30-04-2007 12:21:49

hi hi,

i'm actually working on a project and my team need a car engine like gta 2.can somebody helps me ??

we are using the code from the subaru but he drives very bad. manly the control in curves are a bigproblem



<vehicle name="Subaru">

<body mesh="scooby_body.mesh">
<mass value="1.3" x="0" y="-0.9" z="0" />
</body>

<!-- Create all the wheels, using the supplied mesh and with the specified offset
relative to the car. The mass is 0.02 units, in our case that's around 20Kg -->
<wheel mesh="scooby_wheell.mesh" x="0.8045" y="-0.46698" z="1.4" mass="0.02">
<steer factor="1" force="10.0" speed="4.0" limit="1" />
<brake factor="1.75" />
<power factor="0.3" />
<contact bouncyness="0.9" friction="2" fds="0.002" />
</wheel>
<wheel mesh="scooby_wheelr.mesh" x="-0.8045" y="-0.46698" z="1.4" mass="0.02">
<steer factor="1" force="10.0" speed="4.0" limit="1" />
<brake factor="1.75" />
<power factor="0.3" />
<contact bouncyness="0.9" friction="2" fds="0.002" />
</wheel>
<wheel mesh="scooby_wheell.mesh" x="0.8045" y="-0.46698" z="-1.4" mass="0.02">
<power factor="0.3" />
<brake factort="1.25" />
<contact bouncyness="0.9" friction="3" fds="0.002" />
</wheel>
<wheel mesh="scooby_wheelr.mesh" x="-0.8045" y="-0.46698" z="-1.4" mass="0.02">
<power factor="0.3" />
<brake factor="1.25" />
<contact bouncyness="0.9" friction="3" fds="0.002" />
<suspension spring="90" damping="0.95" step="0.01" />
</wheel>

<!-- Set up the suspension spring and damping constants, passing the rate we're going to
be stepping the world so it can work out the forces needed each step
We could do this per-wheel, like the other factors, but it's easier to do it this way.
N.B. You must create the wheels before you can do this! -->
<suspension spring="90" damping="0.95" step="0.01" />

<!-- Set the engine (and other drivetrain) parameters, lots of work still to do here! -->
<engine redline="100.0" brake="10.0">
</engine>
</vehicle>


big thx for support

edit: can be closed we have found a nice engine