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 CLOSED
 
Thread Tools Search this Thread 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
__________________
Website
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
ngskintools.com - 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
www.marcogiordanotd.com
llinkedin
 
  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
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 07:00 PM.


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