Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Rotate custom cursor to direction of movement ?

Recommended Posts



I'm trying to rotate a custom cursor to the direction that the cursor is moving. I've got the enterFrame loop keeping the cursor on point, and now I need to track the cursor_mc.x and cursor_mc.y from the previous frame, and compare that to the current frame cursor_mc.x and cursor_mc.y, then do some fancy math to determine the direction to rotate.


I'm apparently not a Mathematician, so i don't even really know where to start and cannot seem to find examples on the inter-web.


Please and Thanks!



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.