• In this tutorial we will rig the base plates of the robot's neck.
  • Maya
    Autodesk Maya
  • 6m 12s
In this lesson, we will rig the base plates of the robot's neck. The neck is made up of quite a few pieces. These base plates, we'll take care of in this lesson. We'll be done fairly quickly. We just need to repivot them so that by the end of this when we scale them, they will appear to kind of slide. And we'll use that to make the robot's head transformation look really neat. As the head kind of transforms out of the torso, these plates can then slide down and into place. We'll then use a custom attribute to drive this sliding. Now as far as these smaller neck panels, they'll be a little bit more of a challenge, but we have several tools we can use to get this taken care of. So let's go ahead and take care of these base plates first. We'll go ahead and grab all of them and use Isolate Selected so we're only focusing on these objects. All right, we'll head over to Show, Isolate Selected, View selected. If we were to go to our Move tool, you'll see that their pivot is right at the origin. Let's go ahead and center the pivot on these, and now it's just a matter of placing the pivot at the base of each of these plates. If we were to scale these now, you kind of get an idea of the behavior we want. It's just pivoting at the wrong spot right now. So let's go ahead and get these taken care of. We'll go to the three in the center at the top, and go to Pivot mode, bring these up, and then translate them back. All right. So next we can go ahead and take care of the ones at the side. Just go ahead and translate them over in the x-axis. Doesn't need to be perfect at all. So we'll just eye them in place. That looks good. We now move to the next piece. And what I'll do is go ahead and vert snap up to the very center. So this one's a little bit easier to take care of since we do have a vertex in the center we can use. We'll just go ahead and slide that back in the z, maybe over a little bit more in the x. Press the F key to frame it, and I'd say that looks good. All right. So we'll just want to go through each of these and correct their pivots. Place them at the center. And what I'll do is go ahead and pause the video and take care of the rest of these, since we should have a good idea by now of how to take care of the others. OK. So all of the pivots have been modified. If we were to go ahead and grab our objects and start to scale them, here's the behavior we want. Let's go ahead and see how this looks on our robot. So we'll exit Isolate Selected mode. We'll start to scale these so it looks like it's kind of scaling back or sliding back, which is really neat. OK, so once it's taken care of, one thing I would like to do is take this piece of the geometry that's very similar to another piece that we've hidden that was inside of the robot right around where the abs would be-- we have another one of those pieces that we don't really need, so what we'll go ahead and do is tie that to our Hide Object button at the top. So what I'll do is go ahead and grab this name. It's [? robot_neck_back. ?] All right, let's go ahead and Undo to bring our plates back. Let's go ahead and search for that object, so I'll go ahead and grab the name space just from one of our objects, one of our meshes, paste. And that was robot_neck_back. All right, so we should have it selected now. So let's go ahead and take a look at our code. We'll go to our Hide icon. Choose Edit. Now go ahead and paste the name in here. It would be a good idea to go ahead and copy the entire name. Go on and do that. All right. Great. So all we need to do is modify a view of this. So let's go ahead and copy the [INAUDIBLE] command. Paste. We'll put our quote marks, and then right at the end of this-- right after back-- that's going to be dot visibility, and an end quote mark. Then we'll set that to 0 and put a semicolon. Let's go ahead and copy all of this. Head over to our double-click command tab. Go one line underneath, Paste, and set the 0 to a 1. All right, so now if we were to go ahead and save our shelves out, and we go ahead and use our button here, that piece will be hidden. If we need to bring it back, it's just a matter of double clicking, and now both pieces are brought back. All right, so let's go ahead and make sure they're hidden. And that's going to be it for this lesson, so in the next lesson, we're ready to start working on the smaller next plates.
In this tutorial, we will learn the methods that were used to rig the transforming robot. Throughout these lessons, we will learn the tools and techniques used in the setup process of both our robot and truck. The goal is to break this complex idea down into a simple, and manageable form. We'll cover the rigging process in its entirety, and along this journey, we'll be introduced to several tools that will help make this all come together efficiently. By the end of the course, you'll have the set of skills needed to rig your own transforming robot.