Answer by Bunny83
Jan 25, 2011 at 09:56 AM
If you have waypoint nodes in your level you can use the A* algorithm
If you're not a programmer you should search if someone already wrote an A*-algorithm for Unity or try it yourself.
A* works for almost every pathfinding problem in 2D tiled maps or in 3D maps with nodes.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
No one has followed this question yet.
Setting Scroll View Width GUILayout
AI Waypoint help or suggestions!?
How to make the enemy move back to its waypoint after it's target killed?
AI navigating all 6 sides of a cube