Behavior Trees

Landing Page for all the documentation relating to Behavior Trees

Windows
MacOS
Linux

From a lowly roach that hides from the light, to the Bot in Shooter Game that knows when to shoot, and when to seek health or ammo; Behavior Trees are a powerful tool for creating Artificial Intelligence in Unreal Engine 4.

They're a combination of two asset types: The Blackboard and the Behavior Tree.

Asset Type

Description

Blackboard

The Blackboard is the AI's memory. It stores key values for the Behavior Tree to use.

Behavior Tree

The Behavior Tree is the AI's processor. It makes decisions, and then acts on those decisions.

Below are links to the sections in the documentation covering the use of Behavior Trees. The Quick Start Guide takes you through making an AI chase the Player. Then there's the User Guide , which contains instructions on the most common tasks when using Behavior Trees. Next, the Node Reference contains a listing of all then nodes available in the Behavior Tree editor, what they do, and what their properties are. Finally, How Unreal Engine 4 Behavior Trees Differ is a paper written for those who are already familiar with how other Behavior Trees work.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback