Finger Curls

Become a member of the CGSociety

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

Thread Tools Search this Thread Display Modes
Old 05 May 2006   #1
Finger Curls

Alright. I have a finger setup. I am currently using a custom attribute holder to store the information. I have 3 sliders for each finger. I want to have finger curls, but I am having a hard time establishing a script that will allow curl and individual flexibility. Do you have any pointers on how to do this in Max -- I am currently using maxscript.
Portfolio Site | Production Blog | LinkedIn Profile

Gotta live it up.
Old 05 May 2006   #2
On the "lots of robots" video tutorial, he did a really awesome hand rig where each finger is controlled by ik and rigged to a dummy morpher slider controlled by reaction controller. then he used the list controller to animate between the morph slider and another dummy setup that would move all the fingers together (like to attach all the fingers to an object being held)
all with no scripting though...

I just watched the tutorial today and its not with me right now, but if you want I can more clearly explain the setup later...
Old 05 May 2006   #3
Sounds like fun to setup . I believe I have found a way to do it with maxscript though... I will update this thread if I finalize it for future learners.
Portfolio Site | Production Blog | LinkedIn Profile

Gotta live it up.
Old 05 May 2006   #4
if you're into maxscript, try to use if/then/else statements instead of using reactor controllers.
Old 05 May 2006   #5
You dont even need maxscript for it although it does help assigning the controllers speedwise.

Say you have three bones in your finger - root, middle and tip. Lets say that the z axis of the bone rotation is the curl axis. What you do is go into the trackview, copy the z rotation controller from the root bone and paste it as an instance to the middle and tip z rotations - now if you rotate the root bone, the other two curl aswell.

Next since you want to have the ability to undo the auto curling, you need to add a manual control on the middle and tip bones so you can grab them and rotate them. To do this go into the track view and select the rotation controller for the middle bone (the full controller, not just the z) and choose assign controller. Put on a rotation list controller. What this does is allow you to assign multiple rotation controller at the same time and use a weight control to blend them on and off. When you assign the rot list controller, it wont dump the old rotation controller you had that was linked to the root curl, it'll put it as the first entry on the list. You'll see under the rotation list control a thing called available. If you select this and right click, you can assign a second rotation controller to it. If you assign a euler xyz to this, it will give you a second layer of rotation to use.Lastly, you need to make this controller active so max knows which of the two rotation controllers you want to use when rotating the object in the viewports. Go to your motion panel, choose to view rotation parameters and you'll see the interface for the list controller and be able to choose which controller to set active.

Now you have curl on the fingers using the root bone only and if you need to straighten the others out you can just grab them. My script does this from here though it's got a few bugs with orientation - take a look at the setup it makes or the maxscript source.
Old 05 May 2006   #6
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
Society of Digital Artists

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

All times are GMT. The time now is 05:58 AM.

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