Game Development Community

HoverVehicle Height Question

by CdnGater · in Torque Game Engine · 09/18/2004 (9:26 am) · 3 replies

I'm trying to work with HoverVehicles at the moment. I set a mass of 500 and the top of the model sits just below the terrain. If I adjust the mass to 5, then I can get the model to sit on the terrain, but it's handling dynamic is worse than a bouncing ball.

So my question is, how do I set the height the hovervehicle hovers at? I need a heavy mass, but I need to hovering just above the terrain.

Any ideas?

I think it has to do with setting force parameters but I have had no luck experimenting. Eg: if I increase the spring, then the model looks like it is bouncing on rubber terrain (be cool if I was doing a pinball game).

I did not see any thing in the forums or resouces, unless I used the wrong keywords, and the ones I did find, don't answer my problem.

Thanks

#1
09/18/2004 (9:41 am)
Shouldnt these fields effect what you're after?

hoverHeight	=45;       // Height off the ground at rest
createHoverHeight	= 45;  // Height off the ground when created
#2
09/18/2004 (11:36 am)
Humm, Stefan, those are for FlyingVehicles, not HoverVehicles. BUT, that maybe what I need to add to Hover.

Thanks Stefan
#3
09/18/2004 (11:38 am)
Post your datablock and I'll tell you what's wrong