A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] rotate to dynamic point

Threaded View

  1. #1
    |-'|-'|
    Join Date
    Jan 2006
    Posts
    273

    resolved [RESOLVED] rotate to dynamic point

    i made this thing that would move to mouse.
    Code:
    -removed. check next post-
    it should rotate to mouse gradually, but i can't seem to get it to rotate fully. it would go the other way most of the time. when the point is directly behind (180deg) it would be confused and jitter left and right. still debuging the math, but it's not my forte. any help is appriceated. thanks.

    p.s. you just need to copy paste the code to test it.
    Last edited by Gu35s; 04-29-2009 at 04:38 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center