Now that we have our nodes, we need to assemble the tree. To do that, follows these steps:
- Right-click in the inspector and go to the Create sub-menu.
- Then, select Behavior Tree.
- Choose a location and save.
- An empty editor window should show up onscreen; this is the tree editor.
- You can right-click anywhere and start adding and connecting nodes.
- To implement our tree, you need to recreate the tree shown in the following diagram:
- Select all the nodes, one at a time, and look for the input parameters; these are the parameters we specified in our classes. These parameters may be CONSTANT, meaning that we directly write a ...