-
I'm having a problem getting my math to work. I'll quickly describe the action that I want to take place: I have one *enemy* movie symbol that I want to go after the *good-guy* movie symbol. In other words, I want the *enemy* to move toward the location of the *good-guy*.
What I know:
1) The x and y coordinates of the *enemy* and the *good-guy*
2) The slope of line between the 2 symbols.
3) The distance I want the *enemy* to move.
What I don't know:
1) How to find the NEW x and y coordinates of the *enemy* as it moves toward the *good-guy*.
Thanks for the help.
Kory
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
|