How to make a switchable stretchy IK?

Become a member of the CGSociety

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

Thread Tools Display Modes
  02 February 2013
Question How to make a switchable stretchy IK?

i connect original distance/current distance to a condition node to check if value is greater than one. if so, i connect that to scale X. it works fine. but, how to make it a switchable if i create a enum attribute to ik controller to turn on/off stretchy?
  02 February 2013
You can use set driven key to change the condition statement depending on the value of the switch. That way, if it is 0 you change the statement to something that causes the evaluation to go False and likewise when stretch is on, the condition is changed to something that will make the evaluation go through.

At least that is one way of doing it
Steam Punk Challenge
  02 February 2013
driven keys should be used sparingly. instead of connecting scale directly to a joint, use one more condition to check value of "scale on/off" switch. "value of true" should be your scale value, coming out of first condition, "value if false" should be 1.0, that is, "no scale".
Victor - skinning plugin for Autodesk Maya
  02 February 2013
you can also use a blend color node to blend the value between 1 and your stretched scale, even tho i am not a fan of stretching bones on scale
My website/blog , with a lot of tips&tricks about maya API,python,and pyqt , and tutorials
  02 February 2013
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 10:51 PM.

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