Get started with Behavior Trees
Last Update: Nov 16, 2020
You will need Unity 2020.1.13f1 to follow along. This tutorial assumes knowledge of C# and Unity.
This tutorial uses Behavior Tree Visualizer, an open source tool to help view and debug trees.
Writing a good AI is challenging for many reasons. Not only do you need it to be believable but also easy to maintain. It can grow along side your game, getting more complex as each new feature is added. Behavior trees are an AI technique designed for just that! It is a modular AI framework that works great for more complex AI logic.
You will write an AI that will pick up all objects in the scene by navigating to random way points. At the end of this tutorial you will have fundamental knowledge of how a behavior tree works and will have created foundational nodes that can be reused in all your future projects.
You will learn: