Game Development Reference
In-Depth Information
Clip
Speed
Walk
0.8
Jump
0.5
Fall
0.5
10. Next, we will add a few parameters to control when each animation will be
played. Let's go to the
Parameters
tab at the bottom-left corner of the
Animator
view, click on the plus icon four times, and choose the name and type of paramet-
er as follows:
Name
Type
Speed
Float
Jump
Trigger
Fall
Trigger
Ground Trigger
These parameters will be used as a condition to control the changing state of each
animation clip on our character.
11. Next, we will create the transition between each animation state. First, we will
start with our base animation
Idle
and transition to
Walk
. Right-click on the
Idle