Ok so I'm making a mapping system in 3d based on inertial navigation systems.
3d because this is a diving game. I basically want to chart out the player's movements and differentiate height.
Now I'm not sure how to approach this, given it should happen on a device screen held in the player's hands.
Since idk if you can do a line renderer as a canvas element, I was even thinking foregoing the canvas here and just positioning a bunch of stuff so it floats right above the screen.
Basically, my rough idea is this:
Every x distance moved, a new Vector3 point is saved into an ordered list. Then I may need to create an empty game object for every one of those points. Then I'd duplicate the entire object, and scale down its parent to squash it down to the size of a map. I'd also need to flatten every point on the y axis and ideally show the height difference in colors.
Then I'd create a line renderer between all points.
There's more to it but that's the rough outline I'm thinking of right now since I can't think of a more intuitive way to do it on a canvas right now.
This have any merit? Also, I apologize for having posted this in programming too but I guess it could be complicated for experts in only one of these areas, so I haven't really received a legit solution.