|03 March 2003||#1|
Join Date: Sep 2002
dynamic joint limits (arms go thru a body)
I have a calvicle joint which will move up 30 degrees and down 30 degrees.
I want to limit its child (arm joint) in a certain way:
1. When calvicle is UP (shrug a shoulder) the arm joint should be limited by 120 deg.
2. Calvicle at ZERO (bind pose) the arm joint should be not rotating more than 90 deg.
3. Calvicle DOWN (shoulder relaxed) the arm joint would stop at 60 degrees (otherwise it will go through the body).
How do I go about that?
P.S. I tried to play with expressions which would dynamically change a command's "transformLimits -rz -20 90 -erz 1 1 arm_joint;" value.
But that didnt work.
Maybe there are some other ways...
I know that that can be taken care of while animating. But anyway is there a way to set up joints, so that they wouldn't be swimming through the body of a character.
|03 March 2003||#5|
Join Date: Jul 2002
umm set driven key??
haven't tried it but it might work.... clavicle.rotateZ or whatever is the driver and the joint limit z (not sure real attr name) is driven..
it seems like that would work...
"Who are you? I am the new number 2; Who is number 1? ... You are number 6; I am not a number, I am a free man!!!" the prisoner
|03 March 2003||#6|
Join Date: Mar 2002
One good way to make what you want is by making seperate chains of joints. Instead of parenting the shoulder to the clavicle, point constrain it. It can get messy this way if you don't do it correctly, but it works wonders for making just ordinary things happening to a skeleton, that you don't have to animate by hand.
Check out my tut, in my signature, there is a really detailed way to go about this. If you have any ???'s, just ask.
|Thread Closed share thread|