Joe: I tried that, but didn't really give me the result I was looking for. I want it to return an angle value from 0 to 360. Is there any way I could convert that stuff, Joe? Sorry for being a math/trig noob
its supposed to be aTan, not Tan... But the problem with aTan is that it gives an answer int the range -90 to 90, so you have to make additional checks to get a correct angle... aTan2 takes 2 parameters, X and Y and gives a correct result, but aTan2 isn't included in MMF... at least not in MMF1.5
lol. I thought i missed something in my first post
It should be Atan... but my second one, if i remember rightly, should still be used as i think MMF gets the angle of atan in radians
The angle in MMF will never be more than 180 degrees
Or at least, it shouldnt be.
So basically if you have something more than 180 degrees, subtract 180 from it, if you have something < 0 add 180 to it until it becomes 0 <= angle <= 180