Posts: 2,938
Threads: 162
Joined: May 2010
how do i detect what direct the player is going in south southwest east west north etc?
like use angles?
If hes 180 north 360 south
is this the best way
Posts: 2,938
Threads: 162
Joined: May 2010
mhm saved me alot of typing thx lol just needed to clarify
edit. is there a possiblilty to detect what angle he is from you?
like south west from you
Posts: 517
Threads: 22
Joined: Mar 2010
Reputation:
0
360 - North
315 - North-West
270 - West
225 - South-West
180 - South
135 - South-East
090 - East
045 - North-East
0 - Same as 360, North
Posts: 2,938
Threads: 162
Joined: May 2010
so to detect what direction someone is from you
i do like..>?
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
Wut... I needed that *** ****** function a long time before (atan2) and you just... posted it?
Im gonna retire if everybody is pwning me this hard..
Posts: 2,938
Threads: 162
Joined: May 2010
lmao i dont even understand how to use it xD
Posts: 2,938
Threads: 162
Joined: May 2010
I need it in a command I made something to show his x y z coords but I need to to show the direction the player is from me like 0.36086(south-west)
will it do that?