Game Development Reference
In-Depth Information
If you can create or have access to character models without rigging, you can use Mixamo,
www.mixamo.com ,to rig them. At the time of this writing, as long as the character is less than 4,000 faces,
you can have two characters rigged for free. For more information on Mixamo's rigging service,
please see Appendix A.
For the game, you will have the option to include a scarecrow. He won't do much, but he will give
you an excellent test case for the Humanoid rig. The character was rigged in Mixamo and is roughly
based on Unity's “Dude” character, the humanoid that is used on animations that have no mesh of
their own. You will be using some animations from a different character, or rather just an animated
skeleton. It was quickly generated with 3ds Max's CAT (Character Animation Tools) system.
The Unity Mecanim sample files mentioned earlier in the chapter come with several motion
capture-based files that are free to use in your own projects. If character animation is your specialty,
be aware that the Humanoid rig may not use all of your character's bones during animation. If that
is a problem, you can drop back to the Generic rig to retain the animation as you created it. In doing
so, however, you will lose access to the retargeting system.
1.
From the Animated Assets folder, select the Scarecrow and check it out in
the Inspector (Figure 6-23 ).
Figure 6-23. The Scarecrow character
2.
In the Rig section, select Humanoid for the Animation Type.
3.
Click on the newly added Configure button.
You will first be asked if you wish to save the scene, as Mecanim makes use of the Scene view for
the configuring process. You will be able to get back to it after you press the Done button.
4.
Agree to saving the scene and also to Applying the settings.
 
Search WWH ::




Custom Search