Behavior Trees
Choose a starting point
- Start with Behavior Tree Basics if behavior trees are new to you.
- Browse Tasks to choose an individual building block.
- Use Common Behaviors to combine tasks into complete gameplay patterns such as patrolling, chasing, retrying, timing out, or selecting a fallback.
Understand decisions and data
Flow explains traversal, task status, and the difference between sequential and alternative branches. Blackboard introduces Shared Variables as the data passed between tasks. Behavior Trees or Finite State Machines helps choose the structure that communicates a behavior most clearly.