How to make route helper ?

Hi,

I have a car game and want to make a line or route helper so players know where the next flag is in a course is that they take, how can I make a line/dotted line according to waypoints… is this possible in Android?

Thanks

You can use the A* pathfinding to display a line using cubes or spheres orsomething to go from point A to point B.