Let’s Get this Robo Moving

This tutorial assumes you have already modeled your robo, “Papero”. I have done a few preliminary tasks to make this tutorial easier to follow;
· I assigned basic materials to the separate parts so that they are easier to distinguish (if you have already followed the texturing tutorial, that is fine)
· I have rotated the head to face straight forward.
· I have alos turned off subsurf for now (makes it easier to see what you are doing). (fig 1)

With simple characters, such as our robo, you don’t need a lot of complicated movements. In fact you could probably get away with just using simple keyframing of his head moving from side to side, and adding additional keyframes as he changes location. But then this would be a very short tutorial, and rather unnecessary as you could figure that out all by yourself.

The fact that Gaurav modeled “Papero’s head as all separate parts, presents us with an interesting option for giving our robo an interesting action set. We are going to animate the ear rings and ear ball shooting out from the side of his head as he rolls along. We are going to accomplish this by using Action Constraints.

The basic premise of Action Constraints is simple. You create a set of actions once, then attach that set of actions to one bone with an Action Constraint. When you rotate the one bone, the set of actions gets triggered. Pretty slik time saver, it alos assures that the action will be consistent throughout your animation.

This tutorial was created with Blender 2.40 alpha-2. (If you have a previous and or possibly newer versión, this should not be a big problem as Action Constraints have been around for quite a awhile.)

So let’s get started.

Step 1:
We need a basic armature. There will be no IK chains or anything fancy.
· Place your cursor below the robo.
· Spacebar > Add > Armature. This will be the Root bone and will be used to move the entire robo. (fig 2)
· Next place your cursor in the bottom section of the robo, about even with the wheels
· Spacebar > Add > Bone. This will be the Wheel Base bone, and will be parented to the Root bone. (fig. 3)
· Next place your in the main body section, Spacebar > Add > Bone, this will be the Body bone, and will be parented to the Root bone.
· Tab out Edit mode and RMB on the robo head, in the Edit buttons clik on the ‘Center New’ button, Shift + S > Cursor > Selection. (fig. 4)

animando un robot-animar-robot-3d.png

· Press ‘A’ key to deselect all, RMB on the Armature and Tab bak into Edit mode.
· Spacebar > Add > Bone. This will be the Head bone, and will be parented to the Body bone. (fig. 5)

animando un robot-1.jpg

· Zoom in on the ear rings, place your cursor in the first ring, Spacebar > Add > Bone. This will be the Ring 1.L bone, and will be parented to the Head bone.
· Place your cursor in the second ring, Spacebar > Add > Bone. This will be the Ring 2.L bone, and will be parented to the Head bone.
· Place your cursor in the ear ball, Spacebar > Add > Bone. This will be the Earball bone, and will be parented to the Head bone. (fig. 6)

animando un robot-2.jpg

· ‘B’ key, drag a box through the ear ring and Earball.L bones, ‘Shift + D’ key to duplicate them, Control + ‘M’ key to mirror them, drag them to the other side of the head and line them up with the ear rings. (Names will be the same, except will end in ‘R’.)
· This completes your armature.

Step 2:
Now we need to parent our robo to the armature.
· Tab out of Edit mode, press ‘A’ key to deselect everything.
· Select (RMB + Shift key) all the robo pieces, then select the armature
· Control + ‘P’ > Armature
· Choose ‘From Closest Bones’

Now comes the fun part, double checking to make sure all the parts assigned to the correct bone, no help for it, so let’s get to it. The steps will be the same for each part.
· Select part, Tab into Edit mode, ‘A’ key to deselect all vértices, look at the ‘Vertex Group’ panel
· Scroll to the correct bone for the part you are checking, clik the ‘Select’ button. If all goes well, the right vértices will turn yellow. (fig. 7)

animando un robot-3.jpg

o To assign vértices to ‘Vertex Group’, select vértices wanted, scroll to desired bone in list, clik ‘Assign’ key
o To delete vértices from ‘Vertex Group’, select vértices wanted, scroll to desired bone in list, clik ‘Remove’ key
Make sure you test your robo in Pose Mode, select each bone and rotate/grab to ensure everything is moving properly. In Edit mode, select all bones and press ‘Control + N’ to recalculate bone roll (otherwise you might get strange results).

Step 3:
Now we can start setting up our actions.
· Split your screen into 2, with 3d view on one side and Action Editor Window on the other (fig. 8)
· Select the Armature, Control + Tab into Pose Mode (Armature bones should be blue/green depending on selection status)

animando un robot-4.jpg

· Select the 3 ear bones (Ring 1.L, Ring 2.L & Earball.L), ‘I’ key > LocRot, this will be the base point in the action.
· Go forward 40 frames, ‘I’ key > LocRot, this will be the end point in the action.
· Go bak 20 frames
· Select the Earball.L bone, ‘G’ key, while holding down the ‘Control’ key, move the Earball.L 3 units to the left. ‘I’ key >LocRot.
· Select the Ring 2.L bone, ‘G’ key, while holding down the ‘Control’ key, move the Ring 2.L 1 unit to the left. ‘I’ key >LocRot. (fig.9)
· Go bak to frame 1 and test your new action by pressing ‘Alt + A’ keys.

animando un robot-5.jpg

· In the Action Editor Window, rename your action something relevant, like “Ear action”, close the action (clik the ‘X’ next to the action name)
· Add a bone above the head (Spacebar > Add > Bone), name it Ear Mover, parent it to the Root bone, so it doesn’t get lost when moving the robo around a scene.
· Select Ring 2.L bone and add an Action Constraint in the Constraint panel. Fill in the following settings to match the image. (fig. 10)
· Repeat for Earball.L

Now when you move the Ear Mover bone, the Ring 2.L bone and the Earball.L bone will move through their action. (fig. 11)

animando un robot-6.jpg

At this point you can go bak to your Ear action and add in actions for the right side of the robo, so that both sides pop out at the same time. After you have added in the new actions for the right side, don’t forget to add action constraints to the right side Ring 2.R and Earball.R bones.

At this point ‘Papero’ is ready to roll. He can be keyframed to move across the screen, bump into things and show surprise (his ears popping out).

To practice on you own, here are some further suggestions on actions you can add to our little robo ‘Papero’ to give him a little more character:
· Make his head pop up a little off of his body
· Make his body pop up a little off of the wheel base
· Have Ring 1 and Ring 2 rotate slowly bak and forth while he is rolling through scene.
· Have the Earball slide ever so slightly in and out of rings
· Move Head bak and forth sideways as if he is scanning his surroundings.

Have fun with your new little robo.

animando un robot-7.jpg By Sandra Gilbert