Are you interested in the physics or its visual appreance? For the physics part, you can simply model the bulets by a vector that travels straight in its direction. But i'm not completely sure what exactly you need.
firstPerson
Senior Poster
3,923 posts since Dec 2008
Reputation Points: 841
Solved Threads: 608
You should know where the plane sprite is in space through the translations that have occurred. If you generate the bullet at the planes co-ordinates and then move it to the specified place to shoot from (i'm assuming the wing).
If the plane sprite is a 1X1 square for example assuming the middle of the plane is the (0,0) position. you could do something like.
bulletX = planeX - 0.5;
bulletY = planeY + 0.3;
That would be the start co-ordinate then just increase y axis (assuming your game is 2D) to have it travel forward.
eskimo456
Junior Poster in Training
54 posts since Dec 2010
Reputation Points: 10
Solved Threads: 2