I have a diver. The diver will have a navigation device that will chart out his movements.
I was thinking of saving the vector3 of the diver every x distance moved, then draw a line renderer line between the points in successive order.
Since it will be diagetic on a screen carried by the player, it will need to be converted into 2d, so that x and z will be shown. I was thinking of changing the color of the lines between the points to indicate altitude changes.
Anyway, not sure how to do this. I don't think a render texture is the right way.
Probably just mathematically but I'm not sure how to move it then when player moves. Not sure how to actually do it, even though I probably understand how it should work.