Fleeing

Tutorial

intermediate

+10XP

20 mins

(85)

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.

Resources

1. Fleeing Part 1

In this tutorial, students will learn how to create a crowd situation in which people flee from a given location. In part 1, students will program in the ability to drop an object into a scene from which the crowd will flee.

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