can anyone help me how to develop a car game we're you have a GPS system where you can go to your destination point by guiding you by an arrow that is placed on the top most part of your screen like need for speed? Do anyone know about that? Help me please
asked Apr 27 '11 at 08:07 AM
That sounds like you need a basic pathfinding algorithm. You could make an A* implementation then have the grid be as large as a city-block for optimal performance since you aren't really following the path, you just need the arrow to point at the next node.
As far as finding an algorithm, there are plenty of pathfinding algorithms that already are built for Unity. Search the Asset Store to find plenty. You will likely have to modify it some to spit out the next node to your arrow rather than a pre-built path, but it shouldn't be to hard.
answered Jul 29 '11 at 01:49 PM