Question by
brunogottlieb_unity · Sep 02, 2021 at 09:01 PM ·
pathfindingpathminimapgps
Track path for GPS
Hello guys, I'm wondering how games make the path indicator on the minimap? Like Forza Horizon 5, for example.
I tried using NavMesh and LineRenderer on a track that I have, but the line doesn't keep on the middle of the track.
NavMesh.CalculatePath(player.position, destination.position, NavMesh.AllAreas, path); lineRenderer.SetPositions(path.corners);
captura-de-tela-2.png
(519.2 kB)
Comment