& 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
Continue wiring the arm IK space options by configuring condition nodes for the COG, Hips, and Clavicle locators.
Type:
Tutorial
Length:
4 min.
Transcript
00:03
We now need some more condition nodes. One for each locator
00:08
just close this.
00:10
And let's duplicate this 13 times
00:14
and let's rename these. So they have the correct control in the name.
00:18
So with these three,
00:19
we will be using them to check if the follow attribute is set to that controls number.
00:25
And if it is
00:26
pass that on to the master condition node,
00:29
this will then switch the correct weight value on and off.
00:33
First, we need our follow attribute again.
00:36
So connect that to each of the condition nodes. First term attributes
00:41
with the cog condition node. We want to check if the first term changes and if it does
00:47
has it changed to the cog option?
00:50
If I change the follow attribute now
00:52
to cog
00:54
and look back at the condition node,
00:56
you will see the first term is now one.
00:59
So we need to set second term to one as well.
01:02
So when these are equal, it will tell the main condition node,
01:05
we want to follow the cog control
01:08
and then that will activate the cog sections weight.
01:12
Let's look at the hip condition node
01:15
and change follow to hips
01:18
first term is now set to two.
01:20
So we need to set second term to match this.
01:22
So it triggers when the animator wants the hand to follow the hips.
01:27
OK. Let's change follow to clavicle now.
01:31
So first term is now three. So add that into the clavicle condition nodes.
01:36
Second term box
01:39
because this is a simple set up, we only need to worry about the first R column here.
01:44
So we just need out color R from each condition node.
01:49
Let's open these first.
01:50
So we need the color if true options here
01:54
from the cog condition node,
01:56
connect out color R to color if true R on the arm space condition node,
02:02
next connect the hips condition nodes out color R attribute
02:07
two color if true G
02:09
and then the clavicle condition nodes out color are attribute
02:13
to color if true B.
02:16
So when one of these condition nodes matches the follow option,
02:19
it will tell the main condition node
02:22
and that will then update the blend matrix node's weight values.
02:27
You can see the boxes here are now yellow,
02:29
which means they are connected to something.
02:31
What we need to do now is change all the color of false attributes to zero.
02:36
So if the follow option isn't one of these,
02:39
it will simply set the weight attributes to zero.
02:42
With this first node, we also want to change the operation to greater than.
02:48
So we are saying if follow is set to an option that is greater than world,
02:52
then return a true value below.
02:55
If I set follower back to world
02:58
first term is now zero.
03:00
So the condition node will be output the false attributes below.
03:05
This will set all the weight values to zero.
03:07
Meaning the hand control stays in world space
03:11
and doesn't follow any of the locators.
03:14
Let's set it to cog now and check it.
03:17
Hm. Ok. This doesn't look right. We should only be getting one value below set to one.
03:22
Let me check the other condition notes.
03:25
Ah right.
03:26
The true value should be one
03:29
and false should be zero.
03:31
So let's just update those.
03:36
That's better
03:37
just the one now.
03:39
So because the first term is now greater than the second term,
03:43
this is the value that will be sent to the weight attribute
03:47
and each of these will change depending on what the follow attribute is set to.
03:52
So you see
03:53
the first is now set to one
03:55
and the others are set to zero. So we deactivated,
03:59
let's change to hips now
04:02
and the first term is now set to two
04:04
and below the one has moved to the second column or the G column.
Video transcript
00:03
We now need some more condition nodes. One for each locator
00:08
just close this.
00:10
And let's duplicate this 13 times
00:14
and let's rename these. So they have the correct control in the name.
00:18
So with these three,
00:19
we will be using them to check if the follow attribute is set to that controls number.
00:25
And if it is
00:26
pass that on to the master condition node,
00:29
this will then switch the correct weight value on and off.
00:33
First, we need our follow attribute again.
00:36
So connect that to each of the condition nodes. First term attributes
00:41
with the cog condition node. We want to check if the first term changes and if it does
00:47
has it changed to the cog option?
00:50
If I change the follow attribute now
00:52
to cog
00:54
and look back at the condition node,
00:56
you will see the first term is now one.
00:59
So we need to set second term to one as well.
01:02
So when these are equal, it will tell the main condition node,
01:05
we want to follow the cog control
01:08
and then that will activate the cog sections weight.
01:12
Let's look at the hip condition node
01:15
and change follow to hips
01:18
first term is now set to two.
01:20
So we need to set second term to match this.
01:22
So it triggers when the animator wants the hand to follow the hips.
01:27
OK. Let's change follow to clavicle now.
01:31
So first term is now three. So add that into the clavicle condition nodes.
01:36
Second term box
01:39
because this is a simple set up, we only need to worry about the first R column here.
01:44
So we just need out color R from each condition node.
01:49
Let's open these first.
01:50
So we need the color if true options here
01:54
from the cog condition node,
01:56
connect out color R to color if true R on the arm space condition node,
02:02
next connect the hips condition nodes out color R attribute
02:07
two color if true G
02:09
and then the clavicle condition nodes out color are attribute
02:13
to color if true B.
02:16
So when one of these condition nodes matches the follow option,
02:19
it will tell the main condition node
02:22
and that will then update the blend matrix node's weight values.
02:27
You can see the boxes here are now yellow,
02:29
which means they are connected to something.
02:31
What we need to do now is change all the color of false attributes to zero.
02:36
So if the follow option isn't one of these,
02:39
it will simply set the weight attributes to zero.
02:42
With this first node, we also want to change the operation to greater than.
02:48
So we are saying if follow is set to an option that is greater than world,
02:52
then return a true value below.
02:55
If I set follower back to world
02:58
first term is now zero.
03:00
So the condition node will be output the false attributes below.
03:05
This will set all the weight values to zero.
03:07
Meaning the hand control stays in world space
03:11
and doesn't follow any of the locators.
03:14
Let's set it to cog now and check it.
03:17
Hm. Ok. This doesn't look right. We should only be getting one value below set to one.
03:22
Let me check the other condition notes.
03:25
Ah right.
03:26
The true value should be one
03:29
and false should be zero.
03:31
So let's just update those.
03:36
That's better
03:37
just the one now.
03:39
So because the first term is now greater than the second term,
03:43
this is the value that will be sent to the weight attribute
03:47
and each of these will change depending on what the follow attribute is set to.
03:52
So you see
03:53
the first is now set to one
03:55
and the others are set to zero. So we deactivated,
03:59
let's change to hips now
04:02
and the first term is now set to two
04:04
and below the one has moved to the second column or the G column.
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.