Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Hands-On Artificial Intelligence with Unreal Engine
  • Table Of Contents Toc
  • Feedback & Rating feedback
Hands-On Artificial Intelligence with Unreal Engine

Hands-On Artificial Intelligence with Unreal Engine

By : Francesco Sapio
3 (4)
close
close
Hands-On Artificial Intelligence with Unreal Engine

Hands-On Artificial Intelligence with Unreal Engine

3 (4)
By: Francesco Sapio

Overview of this book

Learning how to apply artificial intelligence ( AI ) is crucial and can take the fun factor to the next level, whether you're developing a traditional, educational, or any other kind of game. If you want to use AI to extend the life of your games and make them challenging and more interesting, this book is for you. The book starts by breaking down AI into simple concepts to get a fundamental understanding of it. Using a variety of examples, you will work through actual implementations designed to highlight key concepts and features related to game AI in UE4. You will learn to work through the built-in AI framework in order to build believable characters for every game genre (including RPG, Strategic, Platform, FPS, Simulation, Arcade, and Educational). You will learn to configure the Navigation, Environmental Querying, and Perception systems for your AI agents and couple these with Behavior Trees, all accompanied with practical examples. You will also explore how the engine handles dynamic crowds. In the concluding chapters, you will learn how to profile, visualize, and debug your AI systems to correct the AI logic and increase performance. By the end of the book, your AI knowledge of the built-in AI system in Unreal will be deep and comprehensive, allowing you to build powerful AI agents within your projects.
Table of Contents (19 chapters)
close
close
Free Chapter
1
Section 1: The Unreal Framework
9
Section 2: Designing and Implementing Behavior Trees
13
Section 3: Debugging Methods
14
Debugging Methods for AI - Logging

Hands-on with the perception system – Sight AI Controller

The best way we to learn about something is by using it. So, let's start by creating a simple perception system in which we print on the screen when something enters or leave the perception field of the AIs, along with the number of currently seen objects (including/excluding the one that just entered/exited).

Once again, we will do this twice, once with Blueprint and another time with C++, so that we can get to know about both methods of creation.

A Blueprint perception system

First of all, we need to create a new AI controller (unless you want to use the one we've already been using). In this example, I'm going to call it "SightAIController...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY