I have such question:
how to calculate angle between player and end point?
Things, which i have:
Player. I have X, Y, Z position of player and his Z-angle (0-360)
Endpoint. I have only X, Y, Z position of end point.
Task:
Rotated player Z-angle to end point.
How i can did this?
Please, help :3