Game Development Community

Flying vehicle problems

by Very Interactive Person · in Torque Game Engine · 08/03/2003 (10:52 am) · 16 replies

Anyone else having problems with flying vehicles? I mean... I can fly it trough buildings and the ground. My collision box isn't any different then on other vehicles. And it does collide... but if my velocity is too high or if I keep on pushing I can fly right trough the ground or trough a wall. What's causing this? I hope bad datablock settings... I'm no C expert you see ;)

And how does damage for vehicles work. I tryed some stuff based on the player damage code, but that didn't seem to work. How would I let me vehicle take damage and let it explode when its "dead"?

#1
08/03/2003 (10:54 am)
And another thing: How can I stop it from flying backwards. It has a rocket engine in the back so it should only be able to fly forwards. Can I set something in the datablock to prevent it from flying in reverse? (I can't think of any flying vehicles that can actually fly in reverse... except for a helicopter maybe but this vehicle class wasn't designed for that)
#2
08/03/2003 (11:00 am)
And another thing: How can I stop it from flying backwards. It has a rocket engine in the back so it should only be able to fly forwards. Can I set something in the datablock to prevent it from flying in reverse? (I can't think of any flying vehicles that can actually fly in reverse... except for a helicopter maybe but this vehicle class wasn't designed for that)
#3
08/04/2003 (10:25 am)
Technically, many flying vehicles can fly "backwards"... Take any plane and fly it straight up for a while, and see what happens :)

I don't know what to say about the other problem, though; perhaps someone else is more up on the datablock settings. :(
#4
08/04/2003 (1:15 pm)
Yeah well... when I fly horizontally and push the backbutton instead of forward, I start flying in reverse... completely impossible. Its not the worst of my concerns, but eventually I need to get rid of this "feature".

And about the collision problems. There must be someone out there who has flying vehicles in his game and is using a recent Torque version. I'd like to know if they have the same problems... and if not I'm interested in hearing about their datablock settings and model setup (nodes etc).
My vehicle was exported with Milkshape, perhaps that wasn't such a good idea ;)
I can't ship a demo or even a beta test version with bugs like these in it, can I ;)

As for vehicle damage... I'm sure there's someone out there who has this working. Anyone?
#5
08/04/2003 (2:14 pm)
Please see my post here
#6
08/09/2003 (8:23 am)
Yeah, I'm having that exact same problem with flyers as well. Its terrain collision is iffy and its dts collision is non existent
#7
08/12/2003 (5:04 am)
I had this cofirmed by some other people too.... so it really is a big problem! I can't believe no one asked for this before.... are we the only ones making a game with flying vehicles?? Or isn't anyone actually testing his game?

And about Ron's reply... I can't believe that bug report has low priority, its a major bug!
#8
09/25/2003 (7:34 am)
Has this been fixed yet? I plan on making a game that only deals with flying vehicles.
#9
09/25/2003 (7:51 am)
Hi,

Did you try to play with the "integration" parameter ?
Change the "Integration" value of your vehicle datablock (integration = 10; for exemple)

Christophe
#10
09/25/2003 (7:55 am)
Yeh, everything works perfectly now... I should've come back and posted the solution here when I figured out what was wrong.
My flyers now collide, take damage, have damage smoke emitters etc... the only thing that doesn't work is the jet emitter... perhaps that's becuase my vehicle isn't "jetting"?
#11
09/25/2003 (9:34 am)
Hey thanks for the quick feedback guys. I asked because I'm getting ready to buy the TGE when 1.2 is released. The game idea I have centers around flying vehicles.(Er... well its a flight sim) So its important to know if the flight code is working and to what extent.

Thank you much.
-Ed C.
#12
09/25/2003 (7:27 pm)
So the solution is to modify the Integration variable ward ?

I cant see it defined in any datablocks.
#13
06/09/2005 (2:29 pm)
Changing the integration just means the processor spends more time simulating the physics
for that object. If you bump up your integration value much higher than default,
having lots of these objects together in a multiplayer game would be very laggy.
#14
06/11/2005 (7:57 am)
I have a unique problem where my stationary ships keeps flying down from the sky while unmounted and hitting the terrain - it does this repeatedly. I have uploaded a video here. When I jump in consequently the vehicle is uncontrollable and tends to crash the game.
Slo-mo version
www.drewfx.com/Torque/flyingVehicle.mpg

Normal Speed...
www.drewfx.com/Torque/flyingVehicle2.mpg

I used the Flying Vehicle tute found here...
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2036

Any assistance would be greatly appreciated. I have the 1.3 installer code bought in May 2005 if thats of any help.
#15
06/11/2005 (9:40 am)
Andy, is this about the original issue? If not, you should post a new thread.
#16
06/11/2005 (10:06 am)
Yeah, don't dig up 2 year old topics....