- Unreal Engine 4 AI Programming Essentials
- Peter L. Newton Jie Feng
- 241字
- 2021-07-16 12:48:39
Goal
Our goal for this chapter is to place an AI character in the level that has the blueprint to instruct it to move randomly and indefinitely. We will demonstrate multiple techniques throughout this chapter to get a good grasp of some really basic AI techniques commonly featured in titles. These techniques are listed as follows:
- First, we want to place an AI character, Hero, in the level that has the blueprint to instruct it to move randomly and indefinitely. We will achieve this by first creating a new third-person project and naming it appropriately. We will then use the default pawn provided from the sample content as the bot. We will create an AIController to control our pawn. We will then provide our AIController with instructions to move our bot randomly and indefinitely.
- Second, we want to make the AI character follow some basic path. For example, we'll have the AI move along the walls in one direction. We can take our existing project and modify the AIController with new instructions. From there, our AI will now move along the walls in one direction indefinitely.
- Third, we want to make a new enemy AI character that will chase the first AI character we made—that is, Hero.
Tip
We will have to make additional changes to Hero to give it the ability to run directly away from Enemy.
Enemy will simply be instructed to move toward Hero every second.
推薦閱讀
- 電腦軟硬件維修大全(實例精華版)
- 基于Proteus和Keil的C51程序設(shè)計項目教程(第2版):理論、仿真、實踐相融合
- 施耐德SoMachine控制器應(yīng)用及編程指南
- 計算機組裝·維護與故障排除
- 筆記本電腦維修不是事兒(第2版)
- 嵌入式系統(tǒng)中的模擬電路設(shè)計
- 計算機組裝與維修技術(shù)
- STM32嵌入式技術(shù)應(yīng)用開發(fā)全案例實踐
- SiFive 經(jīng)典RISC-V FE310微控制器原理與實踐
- Building 3D Models with modo 701
- FL Studio Cookbook
- 單片微機原理及應(yīng)用
- 電腦橫機使用與維修
- IP網(wǎng)絡(luò)視頻傳輸:技術(shù)、標準和應(yīng)用
- Blender 3D By Example