Because right now our prototype game is building on basic system which is made by myself, so I try to using the A* pathfinding in Unity to let our dogs can choose the right way, when we send the order. It is so helpful especially you are going to do a RTS game. At first I was wondering about that when some object can destroy on the map and the path will be changed, the A* pathingfinding can work well or not. It did much better than I thought.
This is the link of the A* pathfinding.
http://arongranberg.com/astar/
没有评论:
发表评论