Game Development Reference
In-Depth Information
3.
Make any correction necessary, and then rotate the beak back to an almost
closed position.
4.
In the Hierarchy view, drag the sprite onto the Stork Group.
5.
Click Play, and watch the stork and beak fly by.
Next you will create a one-shot animation for the beak.
1.
Select the Lower Beak, and open the Animation editor.
2.
Click Add Curve, name the new clip Beak Open , and add it to the Animation
Clips folder.
3.
In the Transforms drop-down menu, select Rotation (Figure 9-40 ).
Figure 9-40. Adding a Rotation track
A key is set at frame 0 and frame 60, 1:00 second.
4.
Move the time indicator to 0:10.
5.
Rotate the beak into its open orientation in the Scene view.
A new key is added.
6.
Select the new key.
7.
Copy the key (ctrl + C), move the time indicator to 0:20, and paste to
make a duplicate.
8.
Move the key at time 1:00 to 0:30.
9.
Click the Animation editor's Play button to watch the result.
 
Search WWH ::




Custom Search