atan2 rotation angle between 2 points
#3

Quote:
Originally Posted by ******
View Post
Angle is a float, not an integer (that function should give a warning when you compile).
Yes, I'm getting tag mismatch error on line:
pawn Code:
return angle;


Quote:
Originally Posted by FUNExtreme
View Post
This might be interesting to read: https://sampforum.blast.hk/showthread.php?tid=194942
Already read this, but can't find solution for my problem. Even in that topic u gave, he getting 0-360 angle, and I'm getting in thousands.

EDIT: Fixed it. Never knew that tag mismatch could do so big changes to results, thanks ******
Reply


Messages In This Thread
atan2 rotation angle between 2 points - by Daslee - 19.02.2013, 13:20
Re: atan2 rotation angle between 2 points - by FUNExtreme - 19.02.2013, 13:28
Re: atan2 rotation angle between 2 points - by Daslee - 19.02.2013, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)