Game Development Reference
In-Depth Information
At its current scale, this thing won't scare a ladybug. Fortunately, Unity is very good at adjusting
scale on rigged characters.
3.
Select the Scarecrow in the Project view.
4.
In the Model section, set the Scale Factor to 0.1 and click Apply.
The Scarecrow is scaled to fit the scene (Figure 6-32 ).
Figure 6-32. The Scarecrow in the scene
Next you will create an Animator controller for the Scarecrow.
1.
Create a new Animator controller in the Animated Assets folder.
2.
Name it Scarecrow Controller .
3.
Drag it onto the Scarecrow in the Scene view.
4.
Open the Scarecrow Controller in the Animator view.
5.
Expand the SCAnimation asset in the Project view.
6.
Drag the SC Idle, SC Walk, and SC Hanging Out clips into the Animator view.
7.
Create transitions to and from the idle and walk states.
8.
Click Play, and watch the scarecrow idle and toddle off into the scene using
animations from the other asset.
 
Search WWH ::




Custom Search