Game Development Community

Vehicle wall climbing

by DNADMG · in Torque Game Engine · 03/07/2006 (3:18 pm) · 2 replies

I am currently working of a racing type game using the racing mod... my current dilema is getting the vehicle to not climb up my side "guide" walls of my racing track.. i want it to just slide along when it gets to each side..

any ideas on how to get my vehicle to be a little more stable?


thanks,

Aryn

#1
03/08/2006 (7:57 am)
You'll have to tweek the WheeledVehicleDatablock ( mass, friction, dampers, etc. ).

Don't ask me what those values should be cause I don't understand them very much. Just go by try and error.
#2
03/08/2006 (8:01 am)
Also make sure that your center of mass is low. TGE uses the vehicle bounding box to determine the center of mass, unless you specify a massbox in the datablock. Make sure your bounding box really reflects the shape of your vehicle and it's ok to cheat a little. the bounding box can be smaller/lower than the extents of your vehicle if you need.