Game Development Reference
In-Depth Information
jump
Speed
4
Foot IK
Check the box
fall
Speed
0.7
We just set the speed of each animation as well as the foot IK, which we will use
to control our character.
7. 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 and click on the plus icon thrice and choose the name and type of parameter
as follows:
Name
Type
Speed
Float
IsRun
Bool
MotionState Int
These parameters will be used in the script to change the state of each animation
clip.
Search WWH ::




Custom Search