- Hands-On Artificial Intelligence with Unreal Engine
- Francesco Sapio
- 161字
- 2021-06-24 15:23:26
The AI Controller to run a Behavior Tree
The next step is to run the Behavior Tree from an AI Controller. Usually, this is an easy task that it is implemented in Blueprint (in which it is possible to directly refer to a specific Behavior Tree). Even if we have a complex C++ AI Controller, we can extend the controller in Blueprint and Run the Behavior Tree from Blueprint. In any case, if a hard reference doesn't work (e.g. you are using C++ or because you want to have more flexibility), then you can store the Behavior Tree in the Character/Pawn that needs to run that specific Behavior Tree, and retrieve it when the AI Controller possesses the Pawn.
Let's explore how we can do this both in Blueprint (we will reference the Behavior Tree in a variable, in which we can decide on the default value) and in C++ (in which we will store the Behavior Tree in the Character).
- 多媒體CAI課件設計與制作導論(第二版)
- 高手是如何做產品設計的(全2冊)
- 解構產品經理:互聯網產品策劃入門寶典
- HoloLens Beginner's Guide
- JMeter 性能測試實戰(第2版)
- Android Application Development Cookbook(Second Edition)
- JS全書:JavaScript Web前端開發指南
- Scala程序員面試算法寶典
- OpenCV 4計算機視覺項目實戰(原書第2版)
- Mastering openFrameworks:Creative Coding Demystified
- HTML5 APP開發從入門到精通(微課精編版)
- 小程序,巧應用:微信小程序開發實戰(第2版)
- AutoCAD 2009實訓指導
- Hands-On JavaScript for Python Developers
- Java程序設計教程