
上QQ阅读APP看书,第一时间看更新
Creating the Behavior Tree and the Blackboard
To begin, we will need to create four Blueprint Classes: AI Controller, Character, Behavior Tree, and Blackboard. We will cover the AI controller later. If you chose one of the two Third Person templates, you should already have a Character ready to go. Thus, you just need to create a Behavior Tree and a Blackboard.
In the Content Browser, create a new folder and name it Chapter2. This will help keep things organized. Then, create a sub-folder and name it AI. As a result, we can keep our project tidy and ensure that we don't mix up items from this chapter with other non-AI-related classes and/or objects we might create. We will put all the assets we are going to create for the AI in this folder.