Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unreal Engine 4 Game Development Quick Start Guide

You're reading from   Unreal Engine 4 Game Development Quick Start Guide Programming professional 3D games with Unreal Engine 4

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789950687
Length 202 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rachel Cordone Rachel Cordone
Author Profile Icon Rachel Cordone
Rachel Cordone
Arrow right icon
View More author details
Toc

Summary

In this chapter, we've learned how to create some simple AI by making our own Pawn and Controller with some code to make them run around a Nav Mesh. Then, we expanded on this by creating our own Behavior Tree with tasks, decorators, and services to expand on our AI's behavior.

You can see how Behavior Trees make creating complex AI a lot simpler. If we tried to do even this simple one in code, it would quickly become a complicated mess. It would be difficult to make major modifications, and it would be difficult to debug.

Even the code we made that detects the player can be simplified and made a lot more flexible. For more advanced reading, look into adding an AI perception component to the enemy's controller class: https://docs.unrealengine.com/en-us/Engine/Components/AI.

In the next chapter, we'll take a look at creating multiplayer games, and the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime