Im making a system that points the player to the next waypoint and shows it on bossbar. It should visually show an arrow pointing towards the waypoint location.
I am stuck on how to get it to return the compass location of where the waypoint is relative to where the player is looking. For example if the player is facing away and the waypoint is behind them it should show the arrow pointing behind them. When they spin around it should point the arrow straight ahead.
Content of Denizen Script Paste #105343: Waypoint_bossbar... pasted 2023/01/13 16:13:48 UTC-08:00, Paste length: 2492 characters across 50 lines, Content: # Create a bossbar that points the player towards the waypoint selectedwaypoint_bossbar: