Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now let's go ahead and finish up the process. We are going to attach the puppet pins to the null objects. So as a quick refresh here, I've got several null objects here, and then I also have a layer called LEG, and that layer has puppet pins attached, and those match up with my null objects. So let's go ahead, and we'll start with the Toe and work our way up. So I am going to go ahead and zoom in, so we can see what we are doing here. So the toe is at Puppet Pin 4, and here is my TOE object here.
Let me go ahead and expand that. Now, the first thing you would think would be, oh! It would be very easy. All I have to do is create an expression that links the position of this puppet pin to the position of the null object. Well, it's not as simple as that. If you notice here, Puppet Pin 4 has a value of 41 Comma 922, and the right toe has a position of 841 Comma 2334. They're completely different numbers on completely different scales.
That's because the position of the puppet pins is determined relative to the layer. So if we look at that LEG layer, you'll see it's a lot smaller than our master composition, and that means that those numbers are going to be completely different. So the puppet pins are working in layer space, the nulls are working in what is called composition space, so it's relative to the entire composition. So, all that means is that we need to do a little bit of translation. First thing we do need to do is still add in an expression.
So I am going to go into my Mesh 1 Puppet Pin 4, and add in an expression. Now, this expression that we have here isn't going to work, so we need to replace that. The expression is a little complicated, so I just wrote it into Notepad, so we can see it a little bit larger, and I also saved this into the project file, so you'll have this. So basically, the generic expression is we have a variable called BONE, and this is where you insert the name of the bone layer. So in other words, that's where I will put RIGHT TOE. And then we will just create a variable called A, and basically it's just going to be equal to the layer of that -- name of that bone layer.
Now, this is where we do the conversion. We're going to do what's called a toComp and a fromComp. Now these are called layer Space transform methods, and Adobe has these fairly well documented if you want to go a little bit deeper. But just for the sake of this, basically what toComp does is it just converts from layer space to composition space, and fromComp converts from composition space to layer space. So this combination here gives us the translation that we need. So in this case, I'm just going to go ahead and copy this, go down to my Puppet Pin 4 expression, and paste.
Now, the only thing I need to do here is just change this to the name of that bone layer and we are working with the right toe, so I know it's called RIGHT TOE. Now once I do that, I should be able to click off of that, and it should work. So I select my RIGHT TOE, move it, and the puppet pin follows wonderfully. So now that I have this expression, I can just copy it and paste it to all the other puppet pins. So I am going to go to Puppet Pin 3, which is my ankle.
Again, Add Expression, paste, and then I just need to change the name from RIGHT TOE to RIGHT ANKLE. Let's see how that works; works wonderfully! Okay. Let's just work our way down. So once we know the magic expression, everything falls into place. Again, I am just going to go ahead and paste: RIGHT TOE, no, this is RIGHT KNEE. See if that works; here we go! And one more, so add in our expression, paste, and instead of RIGHT TOE, this is RIGHT HIP.
So now that we have all of our puppet pins constrained, we have a pretty good system here. So the first thing I am going to do is, actually, I am going to lock this LEG layer so I don't accidentally select it anymore. And then I can just move any one of these, and now I can manipulate my puppet pins without having to dig all the way down into my Effects of this LEG layer. The other cool thing is that we can use parenting to manipulate how these are connected together.
In fact, we are going to do that in our next lesson. So before we do that, I want you to go ahead and work down the left leg yourself. So go ahead and add in the null objects, and then use expressions to tie the puppet pins to those null objects.
Get unlimited access to all courses for just $25/month.Become a member
107 Video lessons · 33904 Viewers
94 Video lessons · 23678 Viewers
100 Video lessons · 4085 Viewers
78 Video lessons · 10277 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.