PDA

View Full Version : how to make toes rotate on floor contact


bradenbickle
06-01-2004, 04:08 PM
Does anyone have a good way to make toes rotate based on contacting the floor?

Kaydara's Motion builder basically has this built in.

When you raise the foot up the foot looks as it should, and when you rotate the foot down on the pitch and bring the foot back down to the ground, the toes rotate to become flat with the ground.

Any thoughts?

chikega
06-01-2004, 10:04 PM
You can definitely do this effect in messiah. If you take a look at the Sample scene "T_Rex_LazyAnimator_01", you'll see something like you'll find in MB. It's not exactly the same effect, but the principal is the same. The T-Rex's foot curls after leaving the ground and straightens out as it hits the ground. I'm not an "expressions" kinda guy - so, I have no idea how to implement it exactly. I'm sure some of the more experienced riggers or TD's can do it blindfolded - I'm thinking of Ron Griswold, Mike_RB, John Riggs, etc...

Maybe one of them would chime in and make our eyes glaze over with the wonders of Expressions, expressions, expressions (echo). :)

pelos
06-01-2004, 11:48 PM
have you seen the video of flex?
there they teach how to use expression,
in that video uses expresion of rotating an arm and moving a point in an axis,
(use a rotation to translate)

so you can use the position of the leg or the null goal of the IK to rotate the bone of the foot, you will have to play with the percentage as the way of the expreesion (additive, negative etc...) plus then you can add a slider expression to control the expression in case in some part of the animation you dont want to be affected by the expression.
in the case will be oposite from the video, here you will use
moving to control a rotation

bradenbickle
06-02-2004, 12:03 AM
Is it the video with the muscle being moved by the bicept and forearm?

I'll watch it. I'm just trying to figure out what channels to have it follow, etc.

pelos
06-04-2004, 08:50 PM
i check the trex scene, and it use expression,
3 expression to control the place of the hip,
each one for xyz axis
and for the leg, use 7, i belive 2 of them are just for Ik you can do it with out expression
and the other 2 are for setting the rotation of the Foot and for the Toes,
other 2 for setting the limits of the roation (like in LW, but insted of going to the motion panel, messiah uses expression)
the left one use fader, i really dont know what it does,

well it also have another expression more (the 8one) but is for the stiffenes of the IK goal.


think the Y channel of the Ik goal have to affect the P channel of the foot bone.
then you can 2 to things, or set how much you want the foot to be afeccted by the Y channel (you can use this if you are not going to do any extreme, like rising the leg above the head, in this case the foot can go 360´ )
or set the limit, so never goes beyond a number

a dont know what are the names of the expression and are so many!!! in the page of massiah tutorials comes a info for the expression, i am going to check it and see what i can learn
:thumbsup: check the rex scene i deleted every thing of the right leg, so i can see whats happening, and i still dont get it :p

bradenbickle
06-05-2004, 12:45 AM
I'm going to dive into the T-Rex scene tonight and see what I can find out.

bradenbickle
06-06-2004, 01:30 AM
I spent a couple of hours on it and still really couldn't figure it out. The expressions were over my head.

Julez4001
06-06-2004, 03:41 AM
Try carlDavis foot rig in the tutorial folder

Add a expression
max(0,[Ball_Rotate:ypos])
on this channel
Ball_Rotate:ypos

TRex is complicated but the breakdown is that the foot arc and the height of the dniosaur's legs are what the long math for.
Also "[TR_RLeg03:wpitch]*max(0,sgn([RF_Goal:zpos]-[TR_RLeg03:wzpos]))-(22/7-[TR_RLeg03:wpitch])*min(0,sgn([RF_Goal:zpos]-[TR_RLeg03:wzpos]))"

calling sgn, splitting the difference between z position and world position and only using the max and min command

max (0,0) is starting command.
max(0,sgn([RF_Goal:zpos]-[TR_RLeg03:wzpos])

the second slot is just a long expression
sgn is math expression
rest of it is splitting the difference

course this is also being multiplied leg's pitch


Try substituting the long expression with just a number
like

"[TR_RLeg03:wpitch]*max(0,4]-4))-(22/7-4)*min(0,sgn(4-5))"


I just replace the zpos with 4s

bradenbickle
06-06-2004, 04:15 AM
I'm on it. I'll let you know what happens.

Thanks a million.

p.s Will it make a difference if I set up my character in the negative Z axis vs. Positive Z axis?

Julez4001
06-06-2004, 04:22 AM
Mind you ..me substituting the 4s is just so you can see what happens to the rex, it will either go yonkers or the foot rig totally stops.

Also scan thru the command syntax list and see what those commands are for :

sgn and min and max

Breaking down (reverse engineering) is key. The numbers will differ depending the height of your character:

Humans are 6 ft or 1.8 meters, so model to scale.


Buy Joe Cosman CD on rigging... if u r just beginning. ThatCD alone will help 1000% fold. All messiah beginners should add to
their cart when purchasing messiah.

bradenbickle
06-06-2004, 02:17 PM
Do you get a set of steak knifes from Joe for making recommendations?

Just kidding.

I have noticed a lot of users getting his tutorials. They seem awesome.

My problem is that I've already ordered tutorials from John Riggs and don't have the money right now to do Joe's.

But eventually I'll have them both.

Sil3
06-06-2004, 02:38 PM
That way u will learn by seeing John´s methods of doing things, later on and with what u have already learned, Joe´s stuff simply add to your knowledge, so u win in this situation, instead of being confused on what procedure to take at first :)

Julez4001
06-06-2004, 03:06 PM
I specifically bought john Cd just becaus eof the words abot his reverse foot setup compared to mine, fred's, maya versio that I simulated, john riggs, and others.... I PREFER JOE's
Can't believe I didn't think of it but I really, really recommend it to all newbies, had I had this when I started I would've have lost so much time.

bradenbickle
06-06-2004, 03:15 PM
I looked in the tutorial folder and didn't find anything with Carl's name on it.

there are three tutorials:

Beginner, Intermediate
and there is one with a video embedded.

which one is it?

Julez4001
06-06-2004, 03:39 PM
C:\Program Files\pmG\messiah_content\Scenes\Tutorials
CarlDavis_FootSetup.fxs

CGTalk Moderation
01-18-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.