Before we get to grips with the animator controller and the script, let's take a look at the scene and run through the zombie's current behavior. The environment is the simple conference room used in Chapter 5, Retargeting Animation.
Our starting scene includes the conference room environment, the first person controller and a single enemy—the female zombie introduced in Chapter 2, Rigging Characters for Unity in 3ds Max and Maya.
Open the scene
Chapter6_Startwithin the Unity project.
Preview the scene by pressing the Play button in the top center of the Unity interface.
With the first-person controller, we can navigate through the space toward the enemy.
The female zombie idles for a while before walking forward. At the moment, we can get close to the zombie without seeing any kind of change in its behavior.
We will add some basic functionality to the script to lay the groundwork for our snarl animation...