Game Development Reference
In-Depth Information
We can remove it from the model, when it is imported, and apply it to the an-
imation FSM that you will build.
2. Open the scene file from the first gameplay level TESTBED1 .
3. Drag-and-drop the Justin model from the Projects tab into the Scene view
and rename it Justin .
4. Click on Justin and add an Animator component. This is the component
that drives a character with the Mechanim system. Once you have added this
component, you will be able to animate the character with the Mechanim sys-
tem.
5. Create a new animator controller and call it JustinController .
6. Drag-and-drop JustinController into the controller reference on the An-
imator component of the Justin instance. The animator controller is the file
that will store the specific Mechanim FSM that the Animator component will
use to drive the character. Think of it as a container for the FSM.
7. Click on the Justin@t-pose model from the Project tab, and drag-and-
drop the avatar definition file from Model to the Avatar reference on the An-
imator component on the Justin instance.
8. Go to the Window drop-down menu and select Animator . You will see a new
tab open up beside the Scene view. With your Justin model selected, you
should see an empty Animator panel inside the tab, as shown in the follow-
ing screenshot:
Search WWH ::




Custom Search