Results 1 to 11 of 11

Thread: [RESOLVED] [C#] Getting the angle from origin to a point on x, y axis.

Threaded View

  1. #1

    Thread Starter
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Resolved [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.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width