––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– DESCRIPTION: ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– This is a recreation of the objective compass from Xenoblade 2. Similar HUD elements can be found in numerous other games, this was just the most recent game with it I've played. I made this to figure out the math behind it so I can recode it in Lua for use in Plethora, an addon for ComputerCraft. Once complete there, it will track the positions of other players on the server so we can more easily find each other. Since this is a 2D plane, elevation is not a problem. However, when migrating it to a 3D environment, I will have to add an up or down arrow to display your relative elevation. For this implementation, however, I'll leave that undone. In this test, you can drag the objective around (drag the pink diamond), drag the observer around, (drag the blue circle), and change the observer's direction (drag the observer's direction marker). As you do, the compass will update in real time to display the objective's relative position. ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– CHANGELOG: ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– 1.1: - The objective marker on the compass now stops before hitting the far ends of the compass. (This is now more consistent with the functionality in Xenoblade 2) 1.0: - Released