dynamic joint limits (arms go thru a body)

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2003   #1
Question 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.
 
Old 03 March 2003   #2
Here is something to illustrate
Attached Images
File Type: gif rotation0.gif (11.6 KB, 36 views)
 
Old 03 March 2003   #3
calvicle UP -30 -> arm 120 deg
Attached Images
File Type: gif rotation-30.gif (14.4 KB, 19 views)
 
Old 03 March 2003   #4
calvicle DOWN 30 -> arm 60 deg
Attached Images
File Type: gif rotation30.gif (19.0 KB, 19 views)
 
Old 03 March 2003   #5
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
 
Old 03 March 2003   #6
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.
__________________
"Don't worry about the world coming to an end today.
It's already tomorrow in Australia."
---- Charles Schultz


Low - Poly Batman in Maya

Tiamat - The World Dragon (Maquette)


Online Tutorial: Character Rigging for Maya


 
Old 01 January 2006   #7
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:15 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.