• Maya

Adding in the toe movement

Set up realistic toe joint movement using a multiply/divide node.


00:03

Now let's add in the tour movement and we can use some of the nodes we already have.

00:09

So what we want it to do is lift the rest of the foot,

00:13

add the reverse toe joint to the node editor

00:17

and create a multiply divide node,

00:19

open it and call it foot left roll tip, multi

00:25

connect the output one D attribute from the reverse plus minus average node

00:30

to the input one X attribute on the multiply divide node.

00:35

Now connect output X to the color if true G attribute on the foot roll condition node,

00:42

we can use the same node because we still want

00:44

to check if the foot roll attribute goes above 25.

00:48

So here, if it's greater than 25

00:52

it uses this value here.

00:55

Let's connect out color G now. So it's the same column

00:59

to the reverse toe joint rotate X again

01:02

just like the ball.

01:04

We also need to change color if false G to zero.

01:08

So the toe joints, rotation will be zero

01:11

while the foot roll attribute is below 25.

01:15

If we try that, now

01:17

you see the toe joint is moving but it's the wrong way.

01:21

So all we need to do is change the input to X value in the multiply divide node

01:27

to minus one instead of one

01:33

that's better.

01:34

The foot moves on to the ball

01:37

and then up onto the tours,

01:39

all using a single attribute.

Video transcript

00:03

Now let's add in the tour movement and we can use some of the nodes we already have.

00:09

So what we want it to do is lift the rest of the foot,

00:13

add the reverse toe joint to the node editor

00:17

and create a multiply divide node,

00:19

open it and call it foot left roll tip, multi

00:25

connect the output one D attribute from the reverse plus minus average node

00:30

to the input one X attribute on the multiply divide node.

00:35

Now connect output X to the color if true G attribute on the foot roll condition node,

00:42

we can use the same node because we still want

00:44

to check if the foot roll attribute goes above 25.

00:48

So here, if it's greater than 25

00:52

it uses this value here.

00:55

Let's connect out color G now. So it's the same column

00:59

to the reverse toe joint rotate X again

01:02

just like the ball.

01:04

We also need to change color if false G to zero.

01:08

So the toe joints, rotation will be zero

01:11

while the foot roll attribute is below 25.

01:15

If we try that, now

01:17

you see the toe joint is moving but it's the wrong way.

01:21

So all we need to do is change the input to X value in the multiply divide node

01:27

to minus one instead of one

01:33

that's better.

01:34

The foot moves on to the ball

01:37

and then up onto the tours,

01:39

all using a single attribute.

Was this information helpful?