Game Development Community

Projectile shooting downward

by Joseph Jonathan · in Torque Game Engine · 04/06/2008 (2:21 pm) · 2 replies

I almost have an "air strike" sort of function in my game but I still need to get the projectile to shoot downward from above the "signal" object.

The way I have it is the AirStrikes projectile oncolition created a signal object witch then creates a projectile.

I want it so that the projectile will shoot from above the object and state down. So that it will hit a roof if the airstrike was directed inside a building.

#1
04/06/2008 (5:07 pm)
Well, then just have the projectile's "isBallistic" option set to true, the do a getPosition function and make it appear much higher then the marker. Once that is done, it should appear above the marker, and then the gravity will make it fall ontop of it...
#2
04/06/2008 (5:44 pm)
Thank you so much It works.