Behavior tree
Also called: BT
Related terms: AI, finite state machine, FSM, selector, sequence
A tree of checks and actions that chooses what an AI character does. Nodes return success, failure or running. A selector tries alternatives until one succeeds or is still running; a sequence proceeds until a child fails or is still running.
For example, try to see, chase and attack the player; otherwise patrol. Running actions can continue across updates. A finite state machine organizes behavior around explicit states and transitions instead.
- Further reading
- Unreal Engine: Behavior Tree Quick Start Guide