- Hands-On Artificial Intelligence with Unreal Engine
- Francesco Sapio
- 193字
- 2021-06-24 15:23:25
Starting Behavior Trees from AI Controllers
Now that we have covered the basics of what Behavior Trees are and what they consist of, let's create our own. Recall from the previous chapter, the class in charge of possessing a Pawn and controlling it is the AI Controller. Thus, our Behavior Trees should run on AI Controllers.
We have two ways we can do this. The first one is by using Blueprints. Usually, even if you are a programmer, it is best to create a Behavior Tree using Blueprints, since the logic is really easy and the controller is simple. On the other hand, if you are a C++ fan and you want to use it as much as possible, even for small tasks, don't worry—I'll recreates the same logic we will do in Blueprint again, but this time in C++. In any case, Behavior Tree assets should be created and modified within the editor. What you will eventually program are different nodes than the ones that are available by default (we will see this later in this book), but the tree itself is always made in the editor.
- Android Wearable Programming
- Learn TypeScript 3 by Building Web Applications
- HoloLens Beginner's Guide
- Learning Flask Framework
- .NET 4.0面向對象編程漫談:基礎篇
- 數據結構習題精解(C語言實現+微課視頻)
- Apache Karaf Cookbook
- STM32F0實戰:基于HAL庫開發
- Learning Vaadin 7(Second Edition)
- 青少年信息學競賽
- Getting Started with React Native
- 軟件工程基礎與實訓教程
- Greenplum構建實時數據倉庫實踐
- Python面試通關寶典
- ROS機器人編程實戰