Game Development Community

Flying vehicle moving along a Path

by M Sazzad Karim · in Torque Game Engine · 09/02/2006 (12:11 pm) · 4 replies

Hi,

I need some help, moving a flying vehicle along a path.
I managed to build a Helicopter using the Helicopter Resource,
and now i need to move it along a path.

Is it possible to implement it within script?

Thanks in advance!

#1
09/02/2006 (1:01 pm)
Hi,

I noticed your post in the resource section but I'll answer you here.

There's two possibilites available to you if you want to use resources from this site:

1)PathShape

Allows you to move static shapes along a path. Limited in functionality but easy to use and implement.

-- OR --

2)The Flight Compendium

More of an AI controlled flying vehicle. More features with this resource but harder to use and implement.

That's all I could find with a quick search, maybe you might find some more appropriate resources.

Good luck!

- Tim.
#2
09/03/2006 (12:28 pm)
Hi Tim,

Thanks for the reply.

I think i should go for your first option now. I am making a prototype so it should not a be a problem to present the basic idea, after that i can go for the better option (2nd one I think).

But I am assuming that, in case of first option, i can implement damage for the shape, (since derived from StaticShape /ShapeBase, correct me if I am wrong). In this case i can implement same damage animation and sequence in the shape while moving along the path.

Is that right?

Regards
#3
09/04/2006 (12:59 am)
You can implement damage on a staticShape however I believe there's a problem with the pathShape resource regarding bounding boxes. From memory, it creates an extremely small bounds so hitting your object may be difficult.
#4
09/04/2006 (3:08 pm)
Thanks Tim, it worked just fine