Rotating Turret
Hi again! I was wondering how I can make a turret that is stationary rotate and follow the mouse icon (actually I just want it to point where the user presses on the screen on an ipad so it will launch a missile at the exact point where pressed as well. Oh and I want to make it only when clicking on the top half of the screen. Does that make sense? Any help is greatly appreciated
![=) =)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smiley.png)
Comments
vectortoangle(game.mouse.position.x-self.position.x, game.mouse.position.y-self.position.y)
hope that helps..