O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building an animation state machine

Let's look at the Animators folder in the Project window. You will notice that although we created the animation clips, the folder also has a state machine. This will give us a leg up for the next step of the process:

  1. Double-click the mole state machine. The default state machine window, as shown in Figure 8. 5, will already have the MolePopUp animation clip attached to the Entry node:
Figure 8.5: Starting the state machine window
  1. Right-click in the grid space and select Create State | Empty.
  2. Rename the New State item Default in the Inspector panel.
  3. Create another new state called MolePopDown.
  4. Right-click ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required