This chapter is a continuation of the previous one, and is the final part of Designing Behavior Trees. We will finish what we started. In particular, we will build the final Behavior Tree and make it run.
In particular, we will cover the following topics:
- Generating the Blackboard and the Behavior Tree assets
- Setting up the Blackboard so that it can be used with the Behavior Tree
- Implementing the Behavior Tree (using either the Blueprint or C++ nodes) to make a Chasing Behavior
- Making the Behavior Tree running (both in a Blueprint or C++)
- Improving the C++ nodes of the Behavior Tree to better align with best practices
Once again, we will be implementing everything in both Blueprint and C++ to give you a broader idea of what you can use. Alternatively, if you already know what you want to use, you can just follow one of the two implementations...