How to adjust Vehicle Parameter

frannie

22-12-2006 04:17:41

there's some parameters can let the vehicle to steer fine:
_steer_limit
_steer_force
_steer_speed
_friction
in OgreOdeVehicle

but when vehicle steer to turn...speed always slow down...
there's anyway can let the vehicle don't slow down when steer to turn left or right....??

Any help on these issues would be greatly appreciated. :oops:

syedhs

22-12-2006 06:33:54

Source code is your friend - it is _steer_speed that need to be increased. However, you should increase it in the .ogreode file. Look for this line:

<steer factor="1" force="10.0" speed="4.0" limit="1" />

Change speed to something bigger eg 20.0

frannie

22-12-2006 10:42:25

thanks syedhs...

increase steer_speed let the wheel turn fast, it's not the factor cause vehicle slow down...
when front wheel turn, maybe vehicle get the bigger friction, so cause speed slow down....
in reality car, seems not slow down...it can turn on high speed...
or my thought is wrong...? :oops:

syedhs

22-12-2006 18:18:09

Okay sorry I misread your posting. I had just solved the weird slow-response steering and therefore, I guess my mind was still focusing on that damn thing :wink:

The slow behavior maybe what is expected from real car behavior because on straight line you may speed up to 200km/h but not so while taking a corner. But maybe you can lower down the mass center a bit so that the vehicle doesn't flip easily. That is for you to tweak - hope that helps.