Game Development Community

A faster car

by Euan Gamble · in Torque Game Engine · 06/06/2005 (11:11 pm) · 3 replies

I have just started creating my own wheeled vehicles in Milkshape and importing them in to Torque. All good so far. Except that I want a massive car... And when I put the car in there, its pretty damn slow.

After editing the car.cs file, I have made all sorts of crazy changes and am getting all sorts of differing results. But not much faster.

Now I dont know much about physics, but could someone explain how I could make the car faster?

#1
06/09/2005 (5:04 am)
Hey Juan,

Thanks for your help. I had a look through your script which got me started.

I have posted another question that I answered myself but may help others. Its overe here

Basically I set the gravity higher in wheeledvehicle.cc which helped heaps!

Euan
#2
06/15/2006 (4:11 am)
Euan,

When you create a datablock for your wheeledvehicle you can adjust the mass also to make it "lighter" and I think maneuverForce will increase speed.. just be carefull since TGE will wack out at high speeds.
#3
08/07/2006 (8:02 am)
In car.cs:

// Engine

engineTorque = 7000; // Engine power

engineBrake = 4000; // Braking when throttle is 0

brakeTorque = 6000; // When brakes are applied

maxWheelSpeed = 70; // Engine scale by current speed / max speed

When i changed the engineTorque and maxWheelSpeed from the default to these values the car got a good kick to it, but perhaps not the effect you where looking for?