Animation basics

This worksheet covers the fundamental skills needed to animate in Maya.

Create a new scene

Create the ground

Create a ball

Double click on the polygon sphere button to open the options.

Challenge

Make sure you name the new texture appropriately and you can see it in the ball.

(HINT: With the ball selected right click and choose "Assign new material" )

Please ask for help if you are unable to complete this challenge.

Animation workspace

When animating it will be helpful to have access to different panel.

Tour of the workspace

On the right we have the channel box this is where we can keyframe the properties we want to animate.

At the bottom of the screen is the range slider, this is where we change the settings for the animation

Above this is the timeline, this shows us which frame we are currently looking at and where we have set keyframes on the selected object.

Finally, we have the graph editor, this shows how each keyframe transitions to the next.

We will use all these panels in the worksheet.

Animation settings

We want the animation to run at 30 frames per second (FPS) and the total animation to be a 3 seconds long.

Create a key frame

Now that we have set up the workspace we can start to animate.

-To set a key frame, right click on Translate y in the channel box and select Key selected

The property should turn red to indicate that it has a key frame, you should also see a red line on the timeline on frame 1.

Another keyframe

You should now have 2 red lines on the time line indicating 2 keyframes.

Set some more keyframes

You can now set the last few keyframes on your own, we want the ball to bounce twice, so set the following:

Play the animation

You can now play your animation by clicking on the play button to the right of the timeline (shortcut is alt/option + v)

Graph editor

With the ball selected, hover over the graph editor and press f on the keyboard so that the complete graph fills the panel.

The yellow diamonds show where you have set keyframes, the green line shows where Maya has created a smooth transition between the keyframes.

To make the bounce more realistic we want to edit this line to create a sharp change of direction on the bottom where it hits the floor and increase the curve on the top.

You can move the handles around to change the shape of the curve, but we want to move them around independently.

We can now move each handle independently but we also want to change the length so we have full control.

play the animation again to see the result.

This looks much better, but there are still some things we can do to improve it.

Squash and Stretch

This is one of the most important principles in animation.

When an object moves or collides with something it will deform.

If your object is made of a rubbery or flexible material it will deform more.

Top of the bounce

firstly, we want the ball to stay spherical at the top of the bounce.

bottom of the bounce

We can now keyframe the squash when it hits the ground.

To conserve the balls volume, this means we need to simultaneously stretch it horizontally.

You should notice that the ball now doesn't hit the ground.

The ball now squashes but it looks Why does it look wrong now? How can we fix it?

Refine the animation

We have a similar issue as before, Maya is smoothing out the transition between keyframes so the ball starts to squash as it falls.

To fix this we need the ball to remain spherical until just before it hits the ground.

You also need to key frame the scale a few frames after the bounce so it returns to its original shape quicker.

Final animation

We now have a basic ball animation and you have covered all the basic skills of animating simple object in Maya.

Challenge

Bike