Unity 3D Game Engine – Animation View
The Animation View is the authority animation tool of Unity 3D
1. Hierarchy> select Main Camera
2. MAIN TOP MENU> Window> Animation> Top Left window> Animation Drop Down menu> [Create New Clip]> Create a ‘Animations’ folder INSIDE ‘Assets’ folder> Save ‘New Animation.anim’
3. Unity 3D authomatically creates:
a. Project window> Animations/Main Camera (animator controller)
Animations/New Animation (animation clip)
b. Inspector> Animator (component)/ Controller -> Main Camera
4. Window> Animation>
– ‘Add Curve’ button> Transform> Position> ‘+’ icon
Transform> Rotation> ‘+’ icon
– Sample: frames per second, 60 = 60 fps
5. Press ‘Record’ button (the little red circle) -> Inspector> Position, Rotation; Animator component turn to red
6. DRAG the red line over the time> Scene view, move the Main Camera using the handles, Unity3D creates the keyframe
7. Bottom Left> switch to ‘Curves Mode’> LEFT COLUMN> Main Camera: Position> Position.x> RMB over a keyframe:
– Delete a key
– Auto
– Free Smoot
– Flat
– Broken
– Left Tangent / Free / Linear / Constant
– Right Tangent / Free / Linear / Constant
– Both Tangents / Free / Linear / Constant
8. Window> Animation> Play button to see the animation
9. Project> Animations>
> New Animation clip> Inspector to edit the animation clip -> UNCHECK ‘Loop Time’ if you want the clip will run once.
> Main Camera controller> Animator window to edit transitions