Updated HoverVehicle?
by Shaun Vantuil · in Torque Game Engine · 11/09/2006 (12:05 am) · 5 replies
Has anyone done any tweaking on the hover code? It's rather frustrating to have a vehicle suddenly slam down when you go over a hill, if that makes any sense. It doesnt seem to behave like one would expect a cushioned craft to operate.
I have been doing some forum searching to little avail.
Thanks!
I have been doing some forum searching to little avail.
Thanks!
About the author
#2
11/09/2006 (10:45 am)
True, but I need it to be able to strafe sideways also. I'm going after the physics and play of Battlezone/Battlezone2.
#3
11/21/2006 (2:50 am)
Try floatingGravMag
#4
11/24/2006 (3:08 am)
It should be possible to make a hovervehicle that works in the manner you want. You'll have to play around with all the variables for a while to get the effect you want, but it can be done.
#5
Now I'm trying to figure out how to make the stabilizers adjust the vehice to the terrain a little smoother. Unless Im traveling really slowly, the vehicle seems to not adjust until the rigid body colides with the ground. More tweaking I guess. :)
Thanks all.
11/24/2006 (7:54 am)
I figured out floatingGravMag not long after my first post (I should have updated with that, sorry). The example datablocks you see everywhere set the value ridiculously high.Now I'm trying to figure out how to make the stabilizers adjust the vehice to the terrain a little smoother. Unless Im traveling really slowly, the vehicle seems to not adjust until the rigid body colides with the ground. More tweaking I guess. :)
Thanks all.
Torque Owner Very Interactive Person