|
-
Feb 28th, 2011, 03:41 AM
#1
[RESOLVED] [C#] Getting the angle from origin to a point on x, y axis.
the other is i have hit a roadblock in programming math-wise.
i can't figure out how to convert two points on a grid into an angle.
edit: final post has working code, but the code is in xna 4 using vector2. The only difference is you will need to find length yourself.
Last edited by Lord Orwell; Mar 4th, 2011 at 08:48 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|