Other Players Indicators

I am working on some game and stuck with a problem to show the indicators of other players on the screen.

I am not able to think how to go about the problem as the position of all the other players is changing with time in 3D space and how to represent them on the 2D screen of camera.

It would be great if I can get some references.

thanks in advance :slight_smile:

to get you started, get the position of a player in PP and the position of you in UU. These are Vector3.

Next do this

var DirectionToThisPlayer:Vector3;
DirectionToThisPlayer = PP - UU;
DirectionToThisPlayer = DirectionToThisPlayer.normalized;

Now do this to draw it and see how youโ€™re doing

 Debug.DrawLine(UU, DirectionToThisPlayer, Color.Blue, 1 );