|
-
Rotating projectiles
Hello,
I'm having an issue with my game that I can't fix, I'm clueless.
I'm trying to rotate my bullet (class-bassed MovieClip) so that it's always facing the direction it's traveling to, and I have no idea how to make that happen. The picture here at the bottom should illustrate how I want it to be and how it's right now.
The game is your average shooter at the moment. You click, the game calculates the rotation from that click and then sends the bullet to that direction. Gravity and friction affects the bullets, simple. Fixing the rotation homever is not simple, for me.
I would really, really appreciate any help. Thank you!
Illustration picture; http://i44.tinypic.com/fayk36.png
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|