Game Development Community

Flying vehicle

by Dan Keller · in Artist Corner · 12/20/2005 (10:22 am) · 4 replies

I'm trying to make a flying vehicle in Blender, and I've run across a problem. When I try to add it to the game, it doesn't appear, which leads me to belive that I made it wrong. What bones and stuff do I need (I also want to mount a player and a weapon)

#1
12/20/2005 (10:24 am)
Did you make a collision box?
#2
12/20/2005 (11:42 am)
Yes..

It turns out that it works when I spawn it instead of the player (except when it hits the ground), but how do I create it as an object that the player can mount, control etc..

Edit:
It also becomes unstable very easily, and the Torque crashes when it hits an interior.

Edit:
I fixed the instability.

Edit:
And the crashing.
#3
12/30/2005 (10:26 pm)
You mean placable in the editor?
There is a function called onCreate for every object placed in the editor. Look at the oncreate function for other objects to see how to build yours.
#4
01/05/2006 (10:00 pm)
I'm not sure if it's changed, but I know the collision code can easily crash TGE. I had made a flying vehicle and everything was working great. Now, pick up some speed, head straight down and hit the ground. The game dies. I was also getting the same problem without hitting anything. Odd.