In this lesson, you'll bring the battlefield scene to life by animating scene objects.
You'll do this with keyframe animation. The Auto Key tool in 3ds Max lets you record the physical characteristics of an object at any given point in time. This state in time is called a keyframe. 3ds Max then figures out all the in-between states from one keyframe to the next, for a smooth transition of the object.
The following procedure consists of two animations. Between frames 0 to 120, you will advance the cannon to its firing position, next to the rock. Between frames 120 and frame 160, you will raise the cannon barrel in preparation for the first shot.
3ds Max gives you three different ways to create keyframes. One is to turn on the Auto Key button, move to any point in time, and transform (move, rotate, or scale) the object. A second method is to right-click the time slider and then set keys using the Create Key dialog. There is also a Set Key animation mode, designed for professional character animators.
In this exercise, you’ll use the Auto Key button.
Animate the position of the cannon:
After a moment, a tooltip appears that says frame.
The tooltip indicates your selection tool is hovering over the frame object. In this scene, frame is the parent object of the cannon, meaning that if it moves, the rest of the cannon assembly moves with it.
The button turns red. You are now in automatic animation mode.
Autokey interpolates, or averages out, the cannon position at each frame from its start position at frame 0 to its final resting place at frame 120.
Notice how animation has already been applied to the windmill in the background.
Add a second animated movement:
You might have to scroll, or resize the Select From Scene dialog, in order to find the barrel entry.
As you modify the barrel rotation, the axis values update in yellow.
Watch the animated cannon prepare its deadly attack on the windmill.