Game Development Reference
In-Depth Information
9. Right now our
Justin
model has no animations in his FSM. Let's add the idle
animation (named
Idle_1
) from the
Adam
model we downloaded. You can
drag-and-drop it from the
Project
view to any location inside this panel.
That's all there is to it! Now, we have a single
anim
FSM attached to our
character. When you play the game now, it should show
Justin
playing the
Idle
animation. You may notice that the loop doesn't repeat or cycle re-
peatedly. To fix this, you need to duplicate the animation and then select the
Loop Pose
checkbox.
10. Highlight the animation child object
idle_1
and press the
Ctrl
+
D
shortcut
to duplicate it. The duplicate will appear outside of the hierarchy. You can
then rename it to a name of your choice. Let's choose
Idle
as shown in the
following screenshot: