What formula would be required to find out the angle from one point to another? AKA if I have a center point, and another point off of it, how can I find out the angle that second point is at from the center of the circle?
I hate to double post, but, I need that formula. I'm trying to bring all of this together into a basic editor, but first I need to know how to do this. (What formula would be required to find out the angle from one point to another?) Anyone?
I've eliminated parts of the formula to try to discover the root of the problem, and it's what comes from ATan. The resulting angle is alright if the object is a little to the right above the center. However, when you move along clockwise, eventually it starts to just return a 45 degree angle, and if you bring the object past where the 45 angle should be, it returns 0. Then, when you keep going around, it starts again at the bottom and does the same thing once again clockwise.
Is there something I'm forgetting? Is MMF limited? Or, is it my computer?
I think it is a fundimental problem with Atan, that is why I said to use Atan2 (which MMF doesn't natively support and so you need an extension). So why not do what I said a few days ago and use the advanced direction object or another maths object that supports getting the angle between two points ^^.