& 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
Add float attributes for foot roll and foot bank, and begin setting up a reverse foot system using condition nodes.
Type:
Tutorial
Length:
6 min.
Transcript
00:03
First, we need some extra attributes
00:08
on the foot IK control, create a new controls divider
00:19
and then add two new float attributes, foot roll,
00:25
un foot bank.
00:27
So this is all we need for now to get the foot moving.
00:31
Traditionally,
00:32
you would use set driven keys to set up a reverse foot system like this.
00:36
They are simply animation curves which allow
00:39
you to manipulate one attribute with another.
00:42
The problem is I find them to be quite limiting.
00:45
Plus they are very economical.
00:47
So instead we are going to set ours up using nodes.
00:51
Now these can come across as being more complicated
00:54
but they are so much more flexible.
00:57
Open the node editor
00:59
and bring in the foot I care control.
01:04
Let's look at the foot roll first,
01:08
bring the reverse ball into the node editor
01:11
and open it up
01:13
at the start of your foot beginning to peel off the ground,
01:17
your heel rises. So you are standing on the ball of your foot,
01:21
something like this.
01:23
So we need to do this first.
01:25
It looks like we need the rotate X attribute.
01:29
So let's connect the foot roll attribute directly to it.
01:35
So we now have the first stage of the foot roll.
01:38
Now things start to get a little bit more complicated
01:42
as the foot moves onto its toes.
01:44
Like this,
01:46
the ball then needs to flatten back out again
01:49
like this.
01:52
So we need a way to reverse the direction it rotates.
01:55
Once it gets past a certain point,
01:59
we want the rotation to rise to a point
02:01
but then go back down even though the foot roll attribute is still climbing.
02:07
Let's look at the point where we want the foot to start moving onto its toes.
02:12
So around 25
02:14
remember that number 25
02:17
create a new condition. Node,
02:20
call this foot left roll condition.
02:24
First, we need to check when the foot roll attribute goes above 25.
02:29
So change operation to greater than
02:32
and set second term to 25.
02:35
The value we want the foot to rise onto the tours
02:38
and the football joint to stop bending forwards and start bending backwards
02:43
to recap. If the first term goes above the second term value of 25
02:48
the condition node outputs the color if true value here.
02:52
If it stays below, it
02:54
uses the color of false value instead.
02:57
So it's a good way to quickly compare things.
03:01
Let's connect to the foot roll attribute. Now
03:04
connect this to the first term attribute.
03:07
We also need to connect it to the color if false R attribute two.
03:12
So if first term is less than 25
03:14
roll the ball forwards.
03:18
Now set color if true R to 25.
03:21
So basically what will happen is if the foot roll goes above
03:30
which is the color of true value.
03:32
Now connect out color R to the joint's rotate X attribute.
03:38
Let's test that.
03:42
So now the ball doesn't go past 25 even though the football attribute has.
03:47
OK. So we have control over the ball now. So instead of being locked at 25
03:53
let's make it reverse and move backwards.
03:56
Create a plus minus average node
03:59
and call it foot left roll, reverse P ma
04:04
connect foot roll to input one D zero
04:08
and also input one D one.
04:10
This now gives us two inputs here.
04:13
Now delete the first connection
04:15
which will leave us with the attribute.
04:18
Now set input one D 0 to 25
04:21
the point where the ball starts to reverse,
04:25
change the operation to subtract. So we are taking 25 away from the foot roll value.
04:32
Next, we need another plus minus average node. So duplicate this one
04:37
and let's call this subtract instead of reverse.
04:41
So the first node will give us an opposite value to work with.
04:45
And this one will take it away for us
04:48
connect output one from the reverse plus minus average node to
04:52
input one D one on the subtract plus minus average node.
04:57
Let's go back to the attribute editor
04:59
this time set operation to some.
05:02
So what we are going to do is replace the 25
05:04
in the color if true section here with the new value,
05:08
which will reverse the direction of the ball.
05:11
This is coming from the two plus minus average nodes. We just created
05:15
connect output one D to the color if true R attribute.
05:20
OK. Let's have a look,
05:23
I'll reset this to zero.
05:26
So we move up to 25
05:29
once past it. Fingers crossed.
05:32
Yep, the ball reverses.
05:34
Perfect.
Video transcript
00:03
First, we need some extra attributes
00:08
on the foot IK control, create a new controls divider
00:19
and then add two new float attributes, foot roll,
00:25
un foot bank.
00:27
So this is all we need for now to get the foot moving.
00:31
Traditionally,
00:32
you would use set driven keys to set up a reverse foot system like this.
00:36
They are simply animation curves which allow
00:39
you to manipulate one attribute with another.
00:42
The problem is I find them to be quite limiting.
00:45
Plus they are very economical.
00:47
So instead we are going to set ours up using nodes.
00:51
Now these can come across as being more complicated
00:54
but they are so much more flexible.
00:57
Open the node editor
00:59
and bring in the foot I care control.
01:04
Let's look at the foot roll first,
01:08
bring the reverse ball into the node editor
01:11
and open it up
01:13
at the start of your foot beginning to peel off the ground,
01:17
your heel rises. So you are standing on the ball of your foot,
01:21
something like this.
01:23
So we need to do this first.
01:25
It looks like we need the rotate X attribute.
01:29
So let's connect the foot roll attribute directly to it.
01:35
So we now have the first stage of the foot roll.
01:38
Now things start to get a little bit more complicated
01:42
as the foot moves onto its toes.
01:44
Like this,
01:46
the ball then needs to flatten back out again
01:49
like this.
01:52
So we need a way to reverse the direction it rotates.
01:55
Once it gets past a certain point,
01:59
we want the rotation to rise to a point
02:01
but then go back down even though the foot roll attribute is still climbing.
02:07
Let's look at the point where we want the foot to start moving onto its toes.
02:12
So around 25
02:14
remember that number 25
02:17
create a new condition. Node,
02:20
call this foot left roll condition.
02:24
First, we need to check when the foot roll attribute goes above 25.
02:29
So change operation to greater than
02:32
and set second term to 25.
02:35
The value we want the foot to rise onto the tours
02:38
and the football joint to stop bending forwards and start bending backwards
02:43
to recap. If the first term goes above the second term value of 25
02:48
the condition node outputs the color if true value here.
02:52
If it stays below, it
02:54
uses the color of false value instead.
02:57
So it's a good way to quickly compare things.
03:01
Let's connect to the foot roll attribute. Now
03:04
connect this to the first term attribute.
03:07
We also need to connect it to the color if false R attribute two.
03:12
So if first term is less than 25
03:14
roll the ball forwards.
03:18
Now set color if true R to 25.
03:21
So basically what will happen is if the foot roll goes above
03:30
which is the color of true value.
03:32
Now connect out color R to the joint's rotate X attribute.
03:38
Let's test that.
03:42
So now the ball doesn't go past 25 even though the football attribute has.
03:47
OK. So we have control over the ball now. So instead of being locked at 25
03:53
let's make it reverse and move backwards.
03:56
Create a plus minus average node
03:59
and call it foot left roll, reverse P ma
04:04
connect foot roll to input one D zero
04:08
and also input one D one.
04:10
This now gives us two inputs here.
04:13
Now delete the first connection
04:15
which will leave us with the attribute.
04:18
Now set input one D 0 to 25
04:21
the point where the ball starts to reverse,
04:25
change the operation to subtract. So we are taking 25 away from the foot roll value.
04:32
Next, we need another plus minus average node. So duplicate this one
04:37
and let's call this subtract instead of reverse.
04:41
So the first node will give us an opposite value to work with.
04:45
And this one will take it away for us
04:48
connect output one from the reverse plus minus average node to
04:52
input one D one on the subtract plus minus average node.
04:57
Let's go back to the attribute editor
04:59
this time set operation to some.
05:02
So what we are going to do is replace the 25
05:04
in the color if true section here with the new value,
05:08
which will reverse the direction of the ball.
05:11
This is coming from the two plus minus average nodes. We just created
05:15
connect output one D to the color if true R attribute.
05:20
OK. Let's have a look,
05:23
I'll reset this to zero.
05:26
So we move up to 25
05:29
once past it. Fingers crossed.
05:32
Yep, the ball reverses.
05:34
Perfect.
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.