Learn how to move characters and objects from point A to B with this introduction to pathfinding in Unity.
Overview
Syllabus
Introduction
- Welcome
- Exercise files
- What is A*?
- Setting up the project
- What is a node?
- Adding the node property
- What is a graph?
- Storing the node
- Indexing the nodes
- Testing for neighbors
- Building the Search class
- Starting the search
- The Step method
- Traversing the nodes
- Continuing the search
- Searching adjacent nodes
- Getting the node index
- Building a test map
- Running the search
- Creating a grid in Unity IU
- Changing colors on the grid
- Showing the path
- Next steps
Taught by
Jesse Freeman