---
title: "Adding Complex Behaviour"
content_type: tutorial
url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/complex-behaviours?language=en"
language: en
container_type: course
container_title: "Autonomously Moving Agents"
container_url: "https://learn.unity.com/course/autonomously-moving-agents.md?language=en&version=2021.3"
standalone_markdown_url: "https://learn.unity.com/tutorial/complex-behaviours.md?language=en&version=2021.3"
previous_title: "Hiding from the Player"
previous_url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/hide-h1zl?language=en&version=2021.3"
previous_markdown_url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/hide-h1zl.md?language=en&version=2021.3"
next_title: "Steering Behaviour Challenge"
next_url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/behaviour-challenge?language=en&version=2021.3"
next_markdown_url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/behaviour-challenge.md?language=en&version=2021.3"
difficulty: intermediate
duration_minutes: 15
unity_version:
  - "2021.3"
supported_unity_versions:
  - name: "6.0"
    url: "https://learn.unity.com/tutorial/complex-behaviours.md?language=en&version=6.0"
  - name: "2021.3"
    url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/complex-behaviours.md?language=en&version=2021.3"
  - name: "2019.4"
    url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/complex-behaviours.md?language=en&version=2019.4"
  - name: "2019.3"
    url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/complex-behaviours.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/complex-behaviours.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/course/autonomously-moving-agents/tutorial/complex-behaviours.md?language=en&version=2019.1"
last_updated: "2026-08-04T14:22:20.000Z"
---

# Adding Complex Behaviour

Learn to combine multiple steering behaviors with simple geometric rules to create complex agent movement.

In this tutorial students will learn how to combine a number of steering behaviours with simple geometric conditions to produce complex behaviours in agents.

## Materials

- [Section08Final.zip](https://unity-connect-prd.storage.googleapis.com/20220913/a14b1c18-4a3a-40bd-9618-b3727c387045/Section08Final.zip)

## 1. Complex Behaviours

[Video](https://connect-mediagw.unity.com/h1/20220906/videos/ecd92841-ac31-4362-a146-9ed95f4da501_S0808.mp4) ([Transcript (en)](https://connect-mediagw.unity.com/h1/20221012/b716525d-0bf1-46a9-b9f5-98bf141fbb7d_S0808.vtt))
