Fleeing
Tutorial
·
intermediate
·
+10XP
·
20 mins
·
(81)
Unity Technologies

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
Languages available:
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.