I am working on a Unity application and am using the Haversine formula to calculate the distance between two points. I know the overall distance + the distance along the latitude and longitude are separately given in the formula. I know my current position and the heading (in degrees) using the compass. However, I am trying to conceptualize the best way to get the relative positions of these data points.
Is the point in front of me or behind me as I rotate the camera and change the heading?
Is it to the left of me or right of me? (negative distance in world space)
I was originally planning to plot the points in World space based on their lat and lon. That still may be the best answer. However, the points are all pretty close together (~a few hundred meters) so the precision is pretty tight. I have been thinking of plotting the spaces along a 2-dimensional plane, offsetting them by their position relative to me and the heading location, hence my earlier question.