0:00:00.606,0:00:03.796 >> Hi, folks. 0:00:03.796,0:00:06.336 Jason, here. 0:00:06.336,0:00:12.496 In this tutorial, we're going to be looking[br]at the Rigify tool in Blender and learning how 0:00:12.496,0:00:19.096 to place a simple rig into a simple character,[br]and also do a little bit of animation. 0:00:19.096,0:00:21.136 So without further ado, let's get going. 0:00:21.136,0:00:23.926 So you'll need to open up Blender. 0:00:23.926,0:00:29.026 You'll be presented with the usual view here,[br]with the camera and the object in the light. 0:00:29.026,0:00:31.816 I'm just going to get rid[br]of that by hitting Delete. 0:00:32.446,0:00:37.056 And if you hold down Alt and middle[br]mouse, you should be able to go 0:00:37.056,0:00:40.446 into your orthographic view, Shift[br]and middle mouse juxtaposition. 0:00:41.286,0:00:45.766 You'll find a link for the OBJ in[br]the description below the video. 0:00:45.766,0:00:50.046 I'm going to open that up now on my desktop,[br]though, so I'm going to go from File, 0:00:50.046,0:00:56.386 I'm going to go to Import and wait for an OBJ. 0:00:56.386,0:00:59.636 Go to desktop and go and find Rigman. 0:00:59.696,0:01:00.266 There we go. 0:01:00.546,0:01:02.396 And go Import OBJ. 0:01:02.396,0:01:06.436 Make sure that the character is fairly central. 0:01:06.436,0:01:10.036 You want to kind of have it in the middle,[br]something like that, so that's hitting G, 0:01:10.036,0:01:13.316 and just bringing it down to, say, there. 0:01:14.266,0:01:18.396 Next, we want to drop in a rig. 0:01:18.396,0:01:22.836 Now, it's probably not enabled on your[br]computer, so you're going to need to go to Edit, 0:01:22.926,0:01:26.426 Preferences, and in the add-ons,[br]just type in the word rig, 0:01:29.046,0:01:31.256 and you'll see there it says rigging, Rigify. 0:01:31.256,0:01:32.496 Now, it's turned on, on mine. 0:01:32.496,0:01:34.246 Obviously, it will be turned off on yours. 0:01:34.246,0:01:35.896 Just make sure that that's there. 0:01:35.896,0:01:39.986 Once you've done that, click off, and[br]then we're going to go and bring that up, 0:01:39.986,0:01:48.286 so Shift and A. Armature, we're going[br]to go through to basic human meta rig, 0:01:48.416,0:01:53.396 and you'll see that it's quite small, so we're[br]going to need to hit S and just scale that up. 0:01:54.396,0:01:56.856 So it might just take a few[br]turns to kind of do that. 0:01:56.856,0:02:00.046 Also, I'm just going to move[br]myself to one side there. 0:02:00.046,0:02:04.626 In the Object Properties,[br]you'll need to just scroll down 0:02:04.626,0:02:10.186 and go through to the Viewport Display,[br]and we're going to need to click 0:02:10.186,0:02:13.196 on this little box that says In Front, like so. 0:02:13.196,0:02:16.406 So now, we can actually see what we're doing. 0:02:16.406,0:02:19.066 So that's the next stage out of the way. 0:02:19.066,0:02:23.526 Another thing we're going to need to do,[br]because we're going to be moving this around 0:02:23.526,0:02:27.686 and positioning it, we don't want to do, like,[br]you know, one arm, then do the other arm, 0:02:27.936,0:02:33.246 so what I'm going to do is I'm going to go[br]through to Edit mode, and then in Edit mode, 0:02:33.246,0:02:38.316 I'm going to click on this little arrow at the[br]top here, and what we're going to do is going 0:02:38.316,0:02:43.876 to go through to Tool, and on[br]Tool, you'll see x Axis Mirror. 0:02:43.876,0:02:44.936 We want to click on that. 0:02:44.936,0:02:48.916 So now, any changes that we make on[br]there, it'll happen on the other side. 0:02:49.236,0:02:53.276 So in order to minimize this, you can just[br]click on the edge there and just drag it in like 0:02:53.276,0:02:56.206 so until it's popped back into its place. 0:02:56.646,0:02:57.966 All right, so we're ready to get going. 0:02:57.966,0:03:01.766 So you can do this a number of ways. 0:03:01.766,0:03:07.446 You can start positioning it by highlighting[br]the foot there, hitting G, and then, 0:03:07.446,0:03:08.916 like, bringing that over, like so. 0:03:08.916,0:03:11.126 So there'll be a lot of adjustment that goes on. 0:03:12.436,0:03:20.486 When it comes to doing the spine, I will warn[br]you that if you don't move the joints in unison, 0:03:20.486,0:03:24.496 it can create issues when you generate the rig. 0:03:24.496,0:03:26.086 So it's just something to bear in mind. 0:03:26.356,0:03:28.046 So I'll just give you an example of that. 0:03:28.046,0:03:30.806 I'm just going to move these hip joints. 0:03:30.806,0:03:36.066 Now, obviously this is like stylized character,[br]so it's not like a regular human being, 0:03:36.066,0:03:42.156 so I'm going to move these hips[br]hitting G. I'm just going to sort 0:03:42.156,0:03:45.396 of bring these down a little bit, like so. 0:03:45.396,0:03:48.536 I'm just going to click on[br]that bottom joint if I can. 0:03:49.186,0:03:50.056 Yeah, that's selected. 0:03:50.566,0:03:53.806 Hit G. I'm just going to[br]bring that down as well. 0:03:55.596,0:03:58.896 Maybe just bring it over to the[br]side, just so it's in the middle. 0:03:59.526,0:04:01.926 Now, these are all parented. 0:04:01.926,0:04:04.046 This is what these dotted lines are about. 0:04:04.046,0:04:07.446 They're all kind of parented together. 0:04:07.446,0:04:08.446 Okay, so got that there. 0:04:08.446,0:04:12.856 Yeah, so when it comes to the spine, and you[br]can use these orthographic views if you like, 0:04:12.856,0:04:17.516 but just tread carefully, because at[br]the moment, it's kind of looking okay, 0:04:17.516,0:04:22.376 it's fairly kind of central, but if[br]you are doing this, just select -- 0:04:22.376,0:04:26.376 make sure you kind of use that marquee tool[br]and just select them before you move them, 0:04:26.376,0:04:30.816 because if you try and move them independently,[br]it will basically break it, and then when you go 0:04:30.816,0:04:34.006 to kind of try and generate a[br]rig, it'll come up with errors. 0:04:34.006,0:04:37.246 So I'm just hitting G, I'm[br]just basically creating, like, 0:04:37.246,0:04:39.496 a bit of a curve on that spline there. 0:04:44.256,0:04:45.336 The same on that. 0:04:45.336,0:04:48.166 Oh, try not to select anything else. 0:04:49.896,0:04:54.556 If you want to be a bit more precise, you[br]can use these, the Move tool, so that way, 0:04:54.556,0:04:56.976 you can actually use arrows, as opposed[br]to just trying to use the G key. 0:04:57.046,0:05:03.626 I'm just going to highlight this joint here. 0:05:03.626,0:05:07.376 And again, I'm just going to bring that[br]back, so maybe like in orthographic view, 0:05:07.486,0:05:11.626 get a better view there, and just sort[br]of see, but it needs to be just fairly -- 0:05:11.756,0:05:15.476 , you know, you got a bit of a curve going on[br]there, but, and then we've got the kind of, 0:05:15.476,0:05:20.246 as it gets up to near the -- what[br]would be the clavicle and the neck, 0:05:21.216,0:05:23.716 we want to be bringing that back as well. 0:05:23.896,0:05:29.426 So I'm just going to go into[br]the orthographic view again. 0:05:29.996,0:05:33.836 I'm just going to highlight[br]that, bring that to there. 0:05:34.466,0:05:36.666 So yes, remember to use the[br]marquee tool on this, 0:05:36.666,0:05:44.376 because it will break it[br]and it will not generate. 0:05:45.116,0:05:46.916 All right, so we're getting close. 0:05:46.916,0:05:47.826 We're getting close. 0:05:47.826,0:05:50.046 I'm just going to move this up to the top. 0:05:50.746,0:05:52.916 So this will need to be at[br]the top of the crown, because, 0:05:52.916,0:05:54.986 you can have a controller there as well. 0:05:54.986,0:05:58.756 We've got this kind of this[br]clavicle area here as well. 0:05:58.756,0:06:08.986 It's going to -- I'm just going to move[br]that into, say, there, something like that. 0:06:09.576,0:06:13.886 And we've got this breast area, and I'm[br]just going to bring those back, like so, 0:06:14.436,0:06:17.006 just so the light embedded in the model. 0:06:17.006,0:06:20.786 You'll end up with maybe parts of this kind[br]of sticking out, but don't worry about it, 0:06:20.786,0:06:22.366 as long as it's kind of like fairly central. 0:06:22.366,0:06:24.846 So you can see here with the legs,[br]we've got an issue going on there. 0:06:24.846,0:06:27.286 I'm just going to go into the orthographic view. 0:06:28.276,0:06:32.086 And again, I'm just going to move these back. 0:06:44.616,0:06:48.726 I'm just making sure that it's[br]pretty central with the model, 0:06:49.066,0:06:51.296 but I think that's looking pretty much okay. 0:06:51.296,0:06:54.806 Yeah, and what we're going to be[br]looking to do in the next video, folks, 0:06:54.806,0:07:00.216 is generating the controllers, and then[br]we're going to be binding the skeleton 0:07:00.216,0:07:03.306 to the character, so that'll[br]be in the next part. 0:07:04.496,0:07:12.086 Just one last thing before we[br]go into the next part, folks. 0:07:12.176,0:07:17.326 Before we go to generate the rig, you will need[br]to go from Edit mode back into Object mode, 0:07:17.326,0:07:21.436 so you've got your armature[br]selected, and I want you to press Ctrl 0:07:21.436,0:07:23.506 and A. And what you need is Scale. 0:07:23.596,0:07:25.296 Okay? So I want you to click on that. 0:07:25.296,0:07:27.126 So I'll do that again, Ctr. 0:07:27.126,0:07:29.096 And A, and then hit Scale. 0:07:29.156,0:07:34.316 If you don't do that, when it comes to[br]generating the rig, it'll basically generate it 0:07:34.316,0:07:38.206 at the original size it was at before you[br]scaled it up, so just something to bear 0:07:38.206,0:07:40.116 in mind before we go into the next section. 0:07:40.116,0:07:43.866 So as long as you've done that, we're[br]ready to go to the next part of the video. 0:07:43.866,0:07:52.246 So now we're ready to create controllers[br]and bind this skeleton to our model. 0:07:52.246,0:07:57.076 So with the skeleton selected in Object mode,[br]we're going to go down to the right here, 0:07:57.076,0:07:59.346 and you want to click on the[br]little symbol with the character. 0:08:00.006,0:08:01.706 And you see it says Generate Rig. 0:08:01.706,0:08:05.766 If you don't see it, just click on[br]the Rigify buttons and you'll see 0:08:05.766,0:08:07.686 that Generate Rig, so I'm going to hit that. 0:08:07.686,0:08:12.876 And it's going to go and create our[br]rig for us, which is looking good. 0:08:12.876,0:08:17.986 Next, what we're going to do over in the[br]top left here, we're going to go in Object, 0:08:17.986,0:08:21.196 and we're going to go to Pose mode. 0:08:21.416,0:08:26.316 Then I'm going to hit A to[br]select it, and then H to hide it. 0:08:27.506,0:08:30.246 Also, we've got two rigs going on here. 0:08:30.246,0:08:32.926 We've got the one that we kind of[br]created, and then we've got the new rig, 0:08:32.926,0:08:36.136 so I'm just going to go and select that. 0:08:39.316,0:08:40.476 So we've got our rig there. 0:08:41.256,0:08:44.046 Then on the right here, you'll[br]see all these layers. 0:08:44.046,0:08:51.746 Now, the layers just to explain, if I just click[br]on the little arrow there, if I go to Item, 0:08:52.616,0:08:58.246 you'll see there, basically every part[br]of this skeleton is listed in here, 0:08:58.246,0:09:03.026 and they all correspond with these buttons[br]here, yeah, so just, so you know what these are. 0:09:03.026,0:09:05.326 I'll just drag that in. 0:09:06.516,0:09:12.566 What I want you to do is I need to go[br]Shift and left-click on this button here. 0:09:13.776,0:09:15.916 And you'll see there, you've got[br]part of the model coming through. 0:09:15.916,0:09:22.296 If I now just go down in this mode to where it[br]says Viewport Display, and just click In Front, 0:09:22.296,0:09:29.376 you will see the model there, and now we're[br]going to go into -- back into Object mode. 0:09:29.376,0:09:33.216 And what we're going to do[br]next is we're going to go 0:09:33.216,0:09:38.406 and select the actual model,[br]Shift and select the armature. 0:09:38.406,0:09:45.276 Then we're going to go Ctrl and P. And then, 0:09:45.276,0:09:49.686 we're going to go Set Parent[br]To with Automatic Weights. 0:09:49.686,0:09:50.526 Click on that. 0:09:50.526,0:09:51.476 Let's give it a second. 0:09:51.476,0:09:56.976 And that's all good. 0:09:57.046,0:10:02.136 And now you can test it, to[br]just see that it's bound to it. 0:10:02.136,0:10:06.406 So if you go and select the[br]armature, then hit G, 0:10:06.726,0:10:09.256 it should by rights move it[br]around, so that's all looking good. 0:10:09.256,0:10:11.946 I'm just going to go Ctrl-Z and bring that back. 0:10:12.556,0:10:15.986 And then with the rig selected,[br]we're going to go back to Pose mode, 0:10:18.026,0:10:24.026 and then back over to the right[br]here with the buttons here, 0:10:24.026,0:10:27.636 Shift and select that button[br]that we selected before. 0:10:28.626,0:10:32.636 And then, with that done, all[br]we need to do is press Alt 0:10:32.636,0:10:36.926 and H to bring back the visibility of our rig. 0:10:36.926,0:10:39.716 And then we're set up, and then all[br]we need to do is, look, we just, say, 0:10:39.716,0:10:43.646 select one of the hands, hit G, and hey, presto. 0:10:44.076,0:10:46.756 We've got our model moving. 0:10:47.406,0:10:49.556 So if you've achieved that, then well done. 0:10:49.556,0:10:51.166 That's absolutely awesome. 0:10:51.426,0:10:54.426 So now you're ready to animate. 0:10:54.816,0:11:00.146 In the next part, I'm just going to go through[br]the controllers of the model and make sure 0:11:00.146,0:11:04.756 that you're all set up so you know what to[br]do when it comes to doing the animation, 0:11:04.756,0:11:10.996 and that'll be in the next part of the video. 0:11:12.306,0:11:18.696 So just to do a little demonstration[br]now, if I, say, select this box here, 0:11:18.696,0:11:24.876 which kind of controls like the bending of[br]the legs, and I hit G, you see there now. 0:11:27.866,0:11:34.516 So I could just go Ctrl-Z that[br]out and set a keyframe there, say, 0:11:34.516,0:11:38.816 hit I, and then go Location and Scale. 0:11:38.816,0:11:43.706 We'll drop a keyframe in there, and[br]basically made that, say, around about 24. 0:11:44.266,0:11:53.446 I'll hit G again, bring that down[br]and hit I again, Location Scale. 0:11:53.446,0:11:57.796 So now we've got a little animation. 0:11:57.856,0:12:03.776 So general overview of controlling the[br]character, you've got the top, the crown, 0:12:04.316,0:12:08.056 so that, if you hit R, you can[br]kind of rotate the head, like so, 0:12:09.106,0:12:11.626 this one for, you know, rotating side to side. 0:12:11.626,0:12:14.296 You can also use these controls[br]as well, so you can actually -- 0:12:14.296,0:12:16.726 of course, that character doesn't have a face, 0:12:16.726,0:12:18.846 but you can sort of rotate[br]from side to side like that. 0:12:18.986,0:12:23.116 These are the controllers you don't want[br]to be touching, like, you know, the arrows. 0:12:23.116,0:12:28.656 The hands, yes, so you've got the controllers[br]here, so you can click on, say, that. 0:12:29.826,0:12:35.166 Hit G, and then move them around, like so. 0:12:35.606,0:12:40.906 We've got one for this sort of --[br]well, you got several sort of, like, 0:12:40.906,0:12:42.446 for the sort of chest areas here. 0:12:42.886,0:12:46.916 Again, you know, it's just good for[br]things, like, you know, if you want to kind 0:12:46.916,0:12:49.766 of get some extra movement in there, like so. 0:12:49.766,0:12:58.356 Same thing with this one but, you know, have[br]a play around, do a bit of a hip wiggle. 0:12:58.356,0:13:03.016 It's pretty cool. 0:13:03.506,0:13:10.436 And then you got other things, like the actual[br]box, which sort of controls the kind of hips, 0:13:10.436,0:13:12.776 and that's going to be good[br]for, like, walking, right? 0:13:12.776,0:13:17.676 So we can kind of like shifting[br]the hips from side to side. 0:13:20.996,0:13:23.306 Again, I'll just Ctrl-Z these out. 0:13:23.306,0:13:25.326 And then we've got the feet. 0:13:25.556,0:13:31.006 Now, when we're posing this in the next[br]videos, going into more like walking, 0:13:31.006,0:13:35.756 you may want to be adjusting some of these[br]and making sure that it's bending okay. 0:13:36.066,0:13:40.136 So for example, if I just grab[br]hold of these, like so, those up, 0:13:40.136,0:13:45.716 you want to make sure they're not, like,[br]knock-kneed, you know, like, kind of going sort 0:13:45.716,0:13:52.866 of together, so you can make some adjustments,[br]like using these here, some of those ones there, 0:13:52.866,0:13:55.146 but you don't really want[br]to be animating with those. 0:13:55.146,0:13:58.686 You want to be sort of using the feet there. 0:13:59.756,0:14:01.526 But if you've got that done, well done. 0:14:01.526,0:14:05.616 You're ready to kind of go to the next stage,[br]which is essentially getting our character 0:14:05.616,0:14:09.396 to kind of move, and that'll[br]be in the next video. 0:14:09.396,0:14:10.796 So that's it, folks. 0:14:10.796,0:14:12.416 Hopefully you found this video useful. 0:14:12.596,0:14:18.696 Okay, thanks a lot. 0:14:18.696,0:14:20.196 Bye for now.