Angle from postion to another
#5

That should be enough

pawn Код:
new Float: Angle = -atan2(TARGET_X - PLAYER_X, TARGET_Y - PLAYER_Y);
SetPlayerFacingAngle(playerid, Angle);
Reply


Messages In This Thread
Angle from postion to another - by MrJunkiTM - 12.10.2014, 10:37
Re: Angle from postion to another - by Rudy_ - 12.10.2014, 11:00
Re: Angle from postion to another - by MrJunkiTM - 13.10.2014, 16:09
Re: Angle from postion to another - by Rudy_ - 13.10.2014, 16:16
AW: Angle from postion to another - by Nero_3D - 13.10.2014, 17:01
Re: Angle from postion to another - by MrJunkiTM - 15.10.2014, 13:34

Forum Jump:


Users browsing this thread: 3 Guest(s)