Game Development Community

Hover vehicles.

by Chris "Dark" Evans · in Torque Game Engine · 02/02/2002 (8:00 pm) · 1 replies

I'm working on a boat class right now. It's almsot an exact copy of the hover vehicles.

My boat works pretty well so far, but it's half way under water. I set the bounds box's pivet point about where I want it to rest in the water.

My question is, in a hover vehicle how do you set the height which it hovers? Is it a variable in the scripts? Or is it something else in the shape?


Dark

#1
02/03/2002 (7:31 am)
youll find the variables of interest available to the script as stabLenMin and stabLenMax as well the stabSpringConstant and stabDampingConstant are of interest
all exported by the HoverVehicleData class
you can now put your Pivot back to reflect the bounds