- Home /
The question is answered, right answer was accepted
Grand theft auto - Map Waypoint
Does anyone know how, I would go about making a map, and then added a something that let you add waypoint to it, plus it would need to draw a line to it, and in game maybe arrow come up on the road, like saint row, or sleeping dog.
Answer by softrare · Jul 17, 2013 at 09:32 AM
The professional way would be - as I learned in my studies, to implement a Dijkstra algorithm (http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm ). So you would define waypoints and connect them to each other and, using the algorithm, find the shortest route.
To make the map itsself there are a lot of examples you can use. Google "unity3d minimap" for example.
Glad I could help. Would you mark the question as resolved (if it is)?
Not really sure on how to mark it as resolved? I just join this site not to long ago.
No problem. $$anonymous$$y answer about Dijktra has a check sign on its left, with this you can mark the question answered. You can give the answer additional credit by clicking the thumbs up button.
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
I made a better shader how do i fix[add _Shadow Strength]help???>Sorry that im asking for to much 1 Answer
I need help creating a map i'm getting a dark shadow on it 1 Answer
Exporting terrain for others to use? 1 Answer
Image as a map, clicking on it spawns Gameobject in the scene at that position. 1 Answer