|
-
Dec 12th, 2006, 10:19 AM
#2
Re: [Any language]Getting angle of movement in radians via mouse
I'd use the mousemovement event to get the X and Y value, compared against the last X and Y values (which you need to store in a global var), you can calculate the DeltaX and DeltaY.
Where is your problem, how the get those DeltaX and DeltaY or how to calculate the radians from DeltaX and DeltaY?
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
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
|