[HELP] Detecting the angle from checkpoints
#3

atan2(x1 - x2, y1 - y2)

there must be a "/" between x2 and y1, but you wrote ",". Is it true?

and how will i use it? i mean:

new Float:angle;

angle = atan2(x1 - x2, y1 - y2) ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)