Game Development Reference
In-Depth Information
In the preceding screenshot, you can see Teddy with a new path set up in your
scene.
Next, we need to configure animations for Teddy. Go to the Animation tab in Teddy's
RAIN AIRig and select MecanimAnimator . Then, we need to add states for running
andidling.Select Base Layer.Run and Base Layer.Idle from Add Animation State .
Your screen should look like the following:
These are the basic animations added to Teddy. Besides adding the states, we need
to set Mecanim parameters. From the teddy bear object's Animator component,
open Controller for IdleRunJump . The following is the Teddy Mecanim diagram:
Search WWH ::




Custom Search