Forum rules


Please attach an image to your first post so that a thumbnail is generated in the list of topics.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Stretchy joint chain script - Maya
PostPosted: Wed Apr 07, 2010 2:39 pm 
User avatar
Sandtrooper
Offline

Joined: Fri Feb 15, 2008 6:50 pm

Posts: 64

Location: Wellington
Here's a script I wrote to hopefully make your stretchy rigging a little easier.

Features:
Any number of joints.
Works on translateX. No scaling.
Reverts to normal IK usage when chain not stretched.

Usage:


Attachments:
andysStretchy.rar [1.57 KiB]
Downloaded 222 times
stretchy01.jpg
stretchy01.jpg [ 146.96 KiB | Viewed 3204 times ]
stretchy02.jpg
stretchy02.jpg [ 126.37 KiB | Viewed 3204 times ]
stretchy03.jpg
stretchy03.jpg [ 106.18 KiB | Viewed 3204 times ]
Top
 Profile  
 
 Post subject: Re: Stretchy joint chain script - Maya
PostPosted: Wed Apr 07, 2010 3:54 pm 
User avatar
Administrator
Offline

Joined: Wed Feb 13, 2008 9:46 pm

Posts: 3931

Location: New Zealand
Awesome, works great! Thanks Andy! Definitely faster to set up than using jsScaleJointsByCurve, since you don't have to make your own curve or select all the joints!

Any chance you can make it attach an attribute to the curve that is a 'on/off' switch to turn the stretchiness off and on as needed?

:bravo:

_________________
Roger Feron
Administrator
NZCGI
Feron Animation
Linked In


Top
 Profile  
 
 Post subject: Re: Stretchy joint chain script - Maya
PostPosted: Thu Apr 08, 2010 11:59 am 
User avatar
Sandtrooper
Offline

Joined: Fri Feb 15, 2008 6:50 pm

Posts: 64

Location: Wellington
Yeah wanted to make it a bit easier than schleifer's script!
It'll also make sure you select only 2 joints and in the right order.

Ah the on/off stretchy attribute! I was thinking of a way to get it in there, normally I'd put
the attribute on a separate controller, but if it was on the curve then the user could then
just connect the attribute themselves! good thinking Rog, might see if I can add that in my lunchbreak.

Andy


Top
 Profile  
 
 Post subject: Re: Stretchy joint chain script - Maya
PostPosted: Thu Apr 08, 2010 1:33 pm 
User avatar
Rogue Leader
Offline

Joined: Thu Feb 14, 2008 2:58 pm

Posts: 471

Location: Auckland NZ
great stuff, I will definitely be using this one!

_________________
You will do foolish things, but do them with enthusiasm. ~Colette


Top
 Profile  
 
 Post subject: Re: Stretchy joint chain script - Maya
PostPosted: Tue Apr 27, 2010 6:21 pm 
User avatar
Sandtrooper
Offline

Joined: Fri Feb 15, 2008 6:50 pm

Posts: 64

Location: Wellington
Here's that update I've been meaning to do..
As per Worz's suggestion there is now an attribute on the stretch curve called (fittingly) "stretchy" which you can connect to any float attribute.

I'd suggest you limit your attribute to min 0 and max 1.

There you go.. you can now dial in your stretchy goodness.. or not! it'll still work.

Cheers,

Andy

p.s. I also have an IKFK switch automator that uses blendColors rather than constraints that I'll share soon.. just gotta bullet proof it.


Attachments:
File comment: Stretch Script - that you can dial on and off.
andysStretchy.rar [1.72 KiB]
Downloaded 252 times
Top
 Profile  
 
 Post subject: Re: Stretchy joint chain script - Maya
PostPosted: Tue Apr 27, 2010 10:39 pm 
User avatar
Administrator
Offline

Joined: Wed Feb 13, 2008 9:46 pm

Posts: 3931

Location: New Zealand
Duuuuuude! That's awesome. :thankyou:

The FK/IK switch sounds cool. Looking forward to checking it out.

_________________
Roger Feron
Administrator
NZCGI
Feron Animation
Linked In


Top
 Profile  
 
 Post subject: Re: Stretchy joint chain script - Maya
PostPosted: Wed Apr 28, 2010 8:58 pm 
User avatar
Sandtrooper
Offline

Joined: Fri Feb 15, 2008 6:50 pm

Posts: 64

Location: Wellington
Cheers!

You should use it in your rigging module rog!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

About Us


Contact Us


Advertise on NZCGI

Powered by phpBB® Forum Software © phpBB Group
Logo Design by - Oliver Hilbert Revilo Designs