I'm working on creating a game similar to the old atari game, Asteriods. I am able to rotate the aircraft, increase and decrease its speed. When the aircraft fires, the bullet is headed only in one direction at 0 degrees regardless of what angle the aircraft is pointed to. For example, If i rotated the aircraft to 45 degree right, and press the keypad to fire. The bullet flies at 0 degree, not at 45 degree.
Is there a specifc way to tell this behavior to fire depending on where the heading of the aircraft is located. FYE, using rotation of the bullet does not make a difference, it still travels at 0 degrees.
Is there a specifc way to tell this behavior to fire depending on where the heading of the aircraft is located. FYE, using rotation of the bullet does not make a difference, it still travels at 0 degrees.