WEBVTT

00:00.710 --> 00:04.650
Welcome to parent and child objects in this video.

00:04.650 --> 00:07.730
We're going to see how parents can group together objects.

00:07.760 --> 00:10.080
Essentially that becomes their children.

00:10.130 --> 00:13.820
We're going to create a hierarchy which is easy to navigate.

00:14.030 --> 00:17.370
We'll be using this to logically group our pieces together.

00:17.660 --> 00:23.120
Now when we're doing parents and children the children can our children and those children our children

00:23.120 --> 00:27.670
as well so you can have a whole family there so a parent child or grandchild and great grandchild et

00:27.660 --> 00:28.660
cetera.

00:29.030 --> 00:35.090
So looking at our hierarchy now going from left to right this is roughly how the outliner will be looking

00:35.660 --> 00:38.090
where we have the chess scene itself.

00:38.090 --> 00:43.210
There will be a lightsome objects in our in the camera in a couple of other things as well.

00:43.280 --> 00:48.350
Now the moment we've already got an empty in our scene which is the white pieces and under that we're

00:48.350 --> 00:53.320
going to put the bournes the rocks the Knights the bishops king and queen etc..

00:53.660 --> 00:59.360
And looking at the number of other objects we have in our scene it might be worthwhile.

00:59.390 --> 01:01.060
We'll see in the outline.

01:01.570 --> 01:02.650
Now look at the numbers there.

01:02.660 --> 01:07.970
It might be worthwhile actually putting the pawns in their own little empty as well.

01:07.970 --> 01:13.760
Just so we can have good control over all of those bits and bobs but we'll see how that looks in the

01:13.810 --> 01:15.950
outliner when we start working with it.

01:15.950 --> 01:19.380
So talking about the outliner Let's pop over into blender.

01:21.190 --> 01:27.250
Okay so over in blender we just need to fit in while first thing I'm going to do is just tidy up our

01:27.250 --> 01:32.920
view so I'm going to hide the time line at the bottom so as we're not using it to hide the tall shelf

01:32.980 --> 01:35.870
and hide the properties panel of three deer.

01:36.160 --> 01:40.810
I'm going to move this section across because we're mainly going to be dealing with the outliner in

01:40.810 --> 01:41.550
this case.

01:41.590 --> 01:46.810
I'm going to leave the 3D view here because when we select our individual meshes we can see what's going

01:46.930 --> 01:47.790
on.

01:48.280 --> 01:54.040
Okay so the first thing we need to do here is start grouping these items together and we can see here

01:54.040 --> 01:56.650
we have our scene inside the scene.

01:56.650 --> 01:58.060
There are a load of options.

01:58.060 --> 02:01.630
We've got at least one mesh objets And so we've got several mesh objects.

02:01.630 --> 02:03.860
It's Which is why we're doing this organization.

02:03.880 --> 02:06.880
We've got the camera we've got the lamp as well.

02:06.940 --> 02:10.400
These can all be Parenthood or childed if you want to.

02:10.630 --> 02:17.530
So I think with all of this in the hierarchy already it might be a good idea to group even our small

02:17.530 --> 02:19.100
pieces together.

02:19.150 --> 02:24.870
So the first thing I'm going to do is how to assign a parent object to its children.

02:25.000 --> 02:29.680
So we start with the bishops here because we've only got two of them so it won't be a repetitive task

02:29.680 --> 02:30.460
anyway.

02:30.640 --> 02:35.050
But at the moment they've got they're just by themselves in our hierarchy.

02:35.140 --> 02:43.900
So I'm going to give them an empty first of all so I'm going to go and empty again just a plain access

02:43.900 --> 02:46.040
is absolutely fine.

02:46.690 --> 02:50.360
I want to call this empty wights bishops.

02:52.880 --> 03:01.010
So the way that's a parent is done is you select in the order or rather the last thing that you select

03:01.040 --> 03:03.120
will become the parent.

03:03.140 --> 03:08.810
After all three items are selected ending with the thing we want to be the parents.

03:08.900 --> 03:15.710
We can go down to object where it's all scroll up to where it says parent and just go to object and

03:15.710 --> 03:16.650
we can see here.

03:16.730 --> 03:22.010
Control ampie is the shortcut and then it will say step parent to.

03:22.010 --> 03:24.080
And we just want objects here.

03:24.470 --> 03:25.420
So now we've done that.

03:25.430 --> 03:30.710
We can see that white Bishop's has two meshes associated it looking at the outliner.

03:30.710 --> 03:33.940
And when we drop that down we can see bishops beneath.

03:34.010 --> 03:40.720
Now all you will notice and was a bit counterintuitive when I started using blender was when you click

03:40.730 --> 03:44.760
white bishops it only selects are empty here.

03:44.990 --> 03:47.730
It does not select the meshes beneath.

03:47.840 --> 03:53.030
If you want to select everything beneath it depending on what you want to do says Say we wanted to hide

03:53.030 --> 03:55.940
both the white bishops without selecting them all.

03:56.060 --> 04:01.160
We could control and click on our empty and that would select everything.

04:01.160 --> 04:08.210
Then if we click the little eye or pressed H We could hide all of those by clicking control you have

04:08.210 --> 04:13.660
to have control down when you click so to select them all we can select them all in the outline.

04:13.670 --> 04:18.770
By holding down control to high the more we'd have to do the same and that similar operation applies

04:18.770 --> 04:20.620
to everything else.

04:20.630 --> 04:30.670
Finally we can test this inside white pieces so we select our first objects or rather in this where

04:30.700 --> 04:35.840
it is an object we select our first object and then we select our second object was holding downshifts

04:35.850 --> 04:42.820
of both a selected and then go to object parents an object and again control and p..

04:42.860 --> 04:48.170
So in this window here you could just go control and pay and set parent to object.

04:48.170 --> 04:56.080
Now under white pieces we have white bishops and under that we have low poly Bishop 1 and 2.

04:56.180 --> 04:59.880
In fact I might name them one and two.

04:59.900 --> 05:02.770
Now just for neatness.

05:03.140 --> 05:04.860
Okay guys it's Challenge time.

05:04.880 --> 05:11.780
I'd like you to finish off the organization of the hierarchy so assign the porn's a parent empty called

05:11.810 --> 05:15.960
White pawns and then make the white pawns empty.

05:15.980 --> 05:21.490
A child of white pieces palls of you now and go give that a go.

05:23.040 --> 05:23.880
Okay guys.

05:24.000 --> 05:24.960
Welcome back.

05:24.960 --> 05:27.310
Let's hop straight on over into blender.

05:28.270 --> 05:31.330
Right so we're almost here with these porn.

05:31.330 --> 05:37.090
So the first thing we need to do is create our empty that we're gonna assign as the parent to all of

05:37.090 --> 05:38.050
these pawns.

05:38.050 --> 05:43.220
So add empty plane axis.

05:43.420 --> 05:46.320
I'm going to call this all white pawns.

05:46.320 --> 05:47.340
B w an S.

05:47.350 --> 05:48.190
Excellent.

05:48.220 --> 05:50.900
I'm going to select all of these.

05:50.920 --> 05:55.530
Holding down shift as we go with the final one being white pawns.

05:55.750 --> 06:02.750
Then I'm going to go over here cause a has to be in the 3-d window control and pee sit them to the object.

06:02.810 --> 06:05.310
And so that's tided up our hierarchy no end.

06:05.350 --> 06:10.750
And then finally I'm going to select white pawns it's already selected and put them under white pieces

06:10.750 --> 06:15.460
again control ampie and set it to the object.

06:15.460 --> 06:18.070
And now we've got a much neater hierarchy.

06:18.250 --> 06:22.650
She can see there are now the White pieces and the chessboard.

06:22.930 --> 06:23.410
Excellent.

06:23.410 --> 06:27.900
And when we open up that we have our white bishops and white porn.

06:28.020 --> 06:32.450
Oh it looks like we had the series of objects selected so I'd made a mistake there.

06:32.590 --> 06:35.120
So let's reassign these.

06:35.980 --> 06:39.110
The parents object of white pawns.

06:39.250 --> 06:44.010
I forgot to D before going forward and that's excellent that's popped.

06:44.020 --> 06:48.820
All of those under there are white pieces white bishops who got two meshes under their white pawns we

06:48.820 --> 06:50.860
should have eight meshes which we do.

06:50.950 --> 06:56.500
And if you wanted to you could go through here and name these appropriately if you wanted to and to

06:56.500 --> 06:59.550
keep that naming convention going without doing too much work.

06:59.560 --> 07:02.860
The first one which has been called zero to seven.

07:02.860 --> 07:03.500
Excellent.

07:03.640 --> 07:05.510
How did you guys get on.

07:05.590 --> 07:07.250
See you in the next lecture.
