How to fire a bullet in a specific direction?

Posted by Mike on Game Development See other posts from Game Development or by Mike
Published on 2012-07-09T12:30:18Z Indexed on 2012/07/09 15:25 UTC
Read the original article Hit count: 242

Filed under:
|
|

I am developing an Android game. I have problem with bullet firing. It's a space ship that has to fire bullets but right now it's firing in a random direction. I have to fire a bullet to the enemy from the only one point on the nose of the ship. Right now the bullets fire sometimes from the tailpart or other. So that's a problem. How do I give a bullet direction and how to fire it from only the head of my space ship?

© Game Development or respective owner

Related posts about java

Related posts about android