Speeding up vehicle

Rex^2

24-06-2006 01:43:14

Hi. I have been experimenting with OgreNewt the last couple of days and I have managed to set up a vehicle and get it driving around. I need to increase the speed at which the truck drives, however when I changed torque to higher values like 5000, it becomes unstable and can flip over and fly through the air. I am sure I am missing something, but being kind of new to this, I don't know what that is.

Thanks,
Rex

Kentamanos

24-06-2006 03:41:04

Just a complete guess, but maybe you're increasing the torque too fast? Are you popping a wheelie basically?

Rex^2

24-06-2006 04:15:18

It will be going straight, and then the vehicle will randomly start turning in one direction and go off the ground.

walaber

26-06-2006 07:06:22

do you have a greabox simulation, or are you just setting the torque directly?

look at the Stunt Playground source for how I got my car simulation working.

Rex^2

26-06-2006 16:06:00

I was just setting torque directly. I will however look into what you did over in the Stunt Playground source code. Thanks.