Skill Level Intermediate
- [Instructor] Now let's pretend you had an awesome scene with a cube flying through the air and you had a camera that was trying to follow it. How would you do it? Well, if you had a flying cube, let's go ahead and just move this little guy here, click on auto key, location rotation scale, hit I and all the way to the end, super flying cube in auto key look at that, awesome. Now let's go through our camera, view, camera or zero on the number pad and lock camera to view, we can try to rotate, stare at this cube, it already auto keyed because we have auto key on.
Now the cube is moving so we're going to have to try to keep up with it. And I mean that's one way of doing it I guess but it's kind of dirty and it's a little messy especially if the cube suddenly decided at this point to jut this way and then you'd have to rotate and it gets kind of messy. So you can kind of see where I'm going here. This is not a good way of tracking a cube. So let me show you a better way. Hit control N and lets start a brand new scene, let's turn on auto key, location rotation scale, move our cube here, go to the end, move our cube over here and come back to the beginning.
Let's just leave that alone for right now and turn off auto key. Now in order to track this cube properly you need to add a couple of empties. First we need to make an empty that actually points at the cube. Next, we need to make an empty that's on the camera so shift S, cursor to selected with the camera selected, shift A, empty and lets make a cube empty because why not. Let's pull this open over here a little bit.
And this first empty I'm going to call this track point. And this one over here I'm going to call this, camera parent. So now with camera parent selected, click on constraints and go to track two. Click down here and go to track point and hey. And now this box is following this track point.
And the last thing I want to do, especially if I want to keep this rotation position of this camera, cause I like it, is to click on the camera, go to constraint, child of camera parent, set inverse. Now, you're probably thinking I also could have just made it a regular parent but I always like having a constraint in front of it. Especially since I can go ahead and key on and off the influence. Now, if I look through this camera and drag this track point, well it'll glitch out if I get too close to the camera but you can see it's following wherever I have this pointed.
That's really handy. So now, what I want to do is, select my cube, cursor to selected, select my track point, selection to cursor and in this case with the track point selected, child of the cube set inverse. And now no matter where the cube goes my camera follows him, look how awesome this is. Now I know what you're thinking, why didn't I just track the cube directly.
Well especially if you're doing some cool visual effects or real kind of animation, you can use this track point to give you just a little bit of extra jitter. So I'm going to turn on auto key and I'm going to pretend like the camera man can't really exactly keep up with it so there's just a little bit of jitter. And that's what the track point gives you, gives you just a little bit of extra animation on top of the real animation of the cube. And again it doesn't matter where the cube goes especially if it decides to do a sudden turn over here because we're going to be following it no matter what.
So take a look at that. So the cube can go down, it can go over and it can't escape because our track point is a child of it. Now that's a pretty awesome system and I could stop right here and we'd have one awesome Leaonard Tips Tricks and Techniques video and there you have it, you now have a cool camera rig that will track the cube no matter where it goes in space. Like all things in Blender this track tube constraint has a lot of options and I highly recommend you get in there and play with it.
You can change the influence or the space for which is up, which is down, it's super duper cool. And I do recommend always having a track to an empty not necessarily the object, just because if you change the object's origin or anything else it could throw everything off. So like all things, get in there and play with it and until next time, this is David for Blender's Tips Tricks and Techniques.
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.