Fleeing

Tutorial

intermediate

+10XP

20 mins

83

Unity Technologies

Fleeing

In this tutorial students will learn how to add a dangerous obstacle to a crowd simulation and program the agents to flee for a specified amount of time.

Materials

1. Fleeing Part 1

In this lecture students will setup a project to drop an obstacle into the scene that the agents in the crowd will flee from.

2. Fleeing Part 2

In this lecture students will complete the fleeing simulation by adding code to the agents controller to calculate a flee direction.

Complete this Tutorial