|
-
Dec 30th, 2000, 06:15 PM
#1
Thread Starter
Frenzied Member
I need some help from you guys.
i'm doiing something in flash but you will be able to
help me,let say i have a cartesian plan:
Code:
-,- | +,-
|
_____|_____
|
|
-,+ | +,+
let say i have a point at 0,0 and i move my mouse on
the cartesian plan,i would like to move the point from
2 or 3 position,but to have the same angle as the mouse
i think i would need the y=mx+b equation but i'm not sure
and i don't remember how to use it,can some body help,
post it in vbcode i'll translate it after!!
example(*=mouse location;.=point)
Code:
| *
|
_____|_.___
|
|
|
Code:
|*
|
_____|._____
|
|
|
Code:
|
|
_____|_____
. |
|
* |
well,something like thaT!!!
THANX FOR THE HELP!!
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
|