& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Explore space swapping with two targets by configuring the elbow control to either stay in world space or follow the arm IK control.
Type:
Tutorial
Length:
4 min.
Transcript
00:03
The arms legs and torso are now rigged.
00:06
Although we do still need to add in the roll
00:08
and twist joint functionality plus some squash and stretch.
00:12
Before we do that though, I wanted to explore some space swapping options.
00:18
I will focus on the elbow pull vector controls and also the IK hand controls.
00:23
But these options can be applied to anything. Really.
00:28
Let's look at the elbow control first.
00:31
What we want to give the animator is the
00:32
option for this control to stay in world space.
00:36
So basically as it is now
00:39
or we want the option to also make it follow the arm I control,
00:44
you will notice that I've added a follow attribute
00:47
which we will be using to switch between the two states.
00:52
OK? Let's open the node editor.
00:54
Let's bring in both controls. So the elbow and arm controls,
01:00
let's hide the shape nodes too.
01:02
We don't need them at this point,
01:05
just move these over
01:08
because we want to move between the two states.
01:11
We need a way to swap or blend between them.
01:14
We can do this with a blend matrix node,
01:17
press tab and create one
01:21
and let's rename it to arm PV, left space blend.
01:27
Let's hop over to the attribute editor
01:30
and open these.
01:32
So up here under the input matrix tab,
01:35
we define the world space position of the elbow control.
01:39
So we essentially record where it is now
01:42
down here. We can use the add new item button to create new targets for it.
01:47
Again, we've touched upon this before.
01:50
First, we need to store the elbow controls position.
01:53
So we need these values here.
01:56
Let's copy this tab so we can reference it.
01:59
OK. So we need the blend node over here
02:03
and all we need to do is copy the values across. So from here
02:07
to here,
02:09
OK. That's stored and it will act as the world space position.
02:14
Now,
02:14
you're probably wondering why I didn't just connect
02:16
the nodes and then disconnect them again.
02:19
Now basically, if you do this,
02:20
the values will appear and as soon as you disconnect them,
02:23
the values will disappear.
02:25
So this is why we have to manually copy them across.
02:29
Let's add another item. Now,
02:32
here we go.
02:34
So we can now connect the arm eye care control to this new section.
02:38
So the elbow control can move to it and follow as it moves.
02:43
So take world matrix zero and connect it to the blend nodes, target, target zero,
02:50
target zero, target matrix attribute.
02:53
Wow, that is a mouthful.
02:56
Now we want this to drive the elbow control.
02:59
So connect the blend matrix nodes output matrix
03:03
to the R PV controls, offset parent matrix attribute.
03:08
OK. So we can see the control has now moved to the wrist.
03:12
Let's open this back up
03:14
and close this.
03:16
We can now use the envelope slider to blend between the two states.
03:21
So now the control is in world space. So it doesn't follow the arm control.
03:26
Just bring back the note editor.
03:29
If we set envelope to one,
03:31
the control moves back to the hand control
03:34
and then it follows as it moves.
Video transcript
00:03
The arms legs and torso are now rigged.
00:06
Although we do still need to add in the roll
00:08
and twist joint functionality plus some squash and stretch.
00:12
Before we do that though, I wanted to explore some space swapping options.
00:18
I will focus on the elbow pull vector controls and also the IK hand controls.
00:23
But these options can be applied to anything. Really.
00:28
Let's look at the elbow control first.
00:31
What we want to give the animator is the
00:32
option for this control to stay in world space.
00:36
So basically as it is now
00:39
or we want the option to also make it follow the arm I control,
00:44
you will notice that I've added a follow attribute
00:47
which we will be using to switch between the two states.
00:52
OK? Let's open the node editor.
00:54
Let's bring in both controls. So the elbow and arm controls,
01:00
let's hide the shape nodes too.
01:02
We don't need them at this point,
01:05
just move these over
01:08
because we want to move between the two states.
01:11
We need a way to swap or blend between them.
01:14
We can do this with a blend matrix node,
01:17
press tab and create one
01:21
and let's rename it to arm PV, left space blend.
01:27
Let's hop over to the attribute editor
01:30
and open these.
01:32
So up here under the input matrix tab,
01:35
we define the world space position of the elbow control.
01:39
So we essentially record where it is now
01:42
down here. We can use the add new item button to create new targets for it.
01:47
Again, we've touched upon this before.
01:50
First, we need to store the elbow controls position.
01:53
So we need these values here.
01:56
Let's copy this tab so we can reference it.
01:59
OK. So we need the blend node over here
02:03
and all we need to do is copy the values across. So from here
02:07
to here,
02:09
OK. That's stored and it will act as the world space position.
02:14
Now,
02:14
you're probably wondering why I didn't just connect
02:16
the nodes and then disconnect them again.
02:19
Now basically, if you do this,
02:20
the values will appear and as soon as you disconnect them,
02:23
the values will disappear.
02:25
So this is why we have to manually copy them across.
02:29
Let's add another item. Now,
02:32
here we go.
02:34
So we can now connect the arm eye care control to this new section.
02:38
So the elbow control can move to it and follow as it moves.
02:43
So take world matrix zero and connect it to the blend nodes, target, target zero,
02:50
target zero, target matrix attribute.
02:53
Wow, that is a mouthful.
02:56
Now we want this to drive the elbow control.
02:59
So connect the blend matrix nodes output matrix
03:03
to the R PV controls, offset parent matrix attribute.
03:08
OK. So we can see the control has now moved to the wrist.
03:12
Let's open this back up
03:14
and close this.
03:16
We can now use the envelope slider to blend between the two states.
03:21
So now the control is in world space. So it doesn't follow the arm control.
03:26
Just bring back the note editor.
03:29
If we set envelope to one,
03:31
the control moves back to the hand control
03:34
and then it follows as it moves.
Industry:
Role:
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Sign in for the best experience
Save your progress
Get access to courses
Receive personalized recommendations
May we collect and use your data?
Learn more about the Third Party Services we use and our Privacy Statement.May we collect and use your data to tailor your experience?
Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.