Basic Tutorial
by Fucifer · in Torque Game Builder · 05/31/2006 (11:33 am) · 1 replies
I have been play around with the Basic Tutorial (Shooter). I have edit it so the enemy ship fly from top to bottom shooting at you. Player shoot back kill the enemy. My question is, there a way to have the missle to shooter from certain point on the player ship. Thank you.
Torque Owner Mirko Topalski
I you ahevent solved that problem here it is:
When shooting() You can place the spawn position of the missile, not just simply on playerShip.getPosition() but at playerShip.getPositionX() + %Xfactor, playerShip.getPositionY() + %Yfactor, or you can add vectors.