Game Development Reference
In-Depth Information
9. Now we need to add the transitions from idle to Locomotion . So, let's right-click
on the idle clip, choose Make Transition , and then click-and-drag this clip on the
Locomotion clip. Then, we will click on the arrow line to go to the Inspector
view and set up the view as follows:
Atomic
Leave this checked
Conditions
Speed
Greater 0.1
10. Also, we will create the transition from Locomotion back to idle . Go to the trans-
ition's Inspector view and set up the view as follows:
Atomic
Leave this checked
Conditions
Speed
Less 0.1
11. Next, we will create the substate machine, which will be used to control the
shooting and aiming animations. Let's right-click on the Animator window and
choose the Create Sub-State Machine option and then name it Shooting , as
shown in the following screenshot:
Search WWH ::




Custom Search