facingangle to point on map
#2

Trigonometry
Something like
[pawn]
new Float:angle = 360.0 - atan2(target_x - own_x, target_y - own_y);
Reply


Messages In This Thread
facingangle to point on map - by dalkgamler - 30.07.2012, 19:12
Re: facingangle to point on map - by Mauzen - 30.07.2012, 19:14
AW: facingangle to point on map - by dalkgamler - 30.07.2012, 20:40

Forum Jump:


Users browsing this thread: 2 Guest(s)