1 Attachment(s)
[RESOLVED] Finding an Angle
Hey, i was hoping to get some Help with Finding Angles between two Points, i have got the numbers moving a little with math.atan etc..
Like this:
(SEE ATTACHMENT)
http://www.vbforums.com/attachment.p...1&d=1220222942
The Grey Line from the Point in the Center to the Mouse Pointer is what i need to calculate. Numbers are as you see in the picture
Someone can help me out?..Endless and Pointless hours trying so far
- Cheers in Advanced.. L3mmy
Re: [RESOLVED] Finding an Angle
You should also note that you're never going to get an angle outside the of 0-90 the way you're doing it. You'd have to use the signs of the opposite and adjacent sides specifically to determine which quadrant you're in.
Re: [RESOLVED] Finding an Angle
Hmmm... I see that this thread is now resolved. It's customary to provide the final solution for those who may have the same question in future. It's also considered polite to tell people that the problem is solved and thanks for the help.
Re: [RESOLVED] Finding an Angle
I would guess that a combination of your post #6 and #8 solved the issue.
Re: [RESOLVED] Finding an Angle
Sorry i didn't reply..I ended up asking a Friend on MSN..He let me use some Code of his..