Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Unity 5: 2D Pathfinding

via LinkedIn Learning

Overview

Learn how to move characters and objects from point A to B with this introduction to pathfinding in Unity.

Syllabus

Introduction
  • Welcome
  • Exercise files
1. Pathfinding Introduction
  • What is A*?
  • Setting up the project
2. The Node Class
  • What is a node?
  • Adding the node property
3. The Graph Class
  • What is a graph?
  • Storing the node
  • Indexing the nodes
  • Testing for neighbors
4. The Search Class
  • Building the Search class
  • Starting the search
  • The Step method
  • Traversing the nodes
  • Continuing the search
  • Searching adjacent nodes
  • Getting the node index
5. Testing the Search
  • Building a test map
  • Running the search
  • Creating a grid in Unity IU
  • Changing colors on the grid
  • Showing the path
Conclusion
  • Next steps

Taught by

Jesse Freeman

Reviews

Start your review of Unity 5: 2D Pathfinding

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.