IKFK Switch with stretch - 3ds Max

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
  01 January 2013
IKFK Switch with stretch - 3ds Max

Hey guys, I'm running into a bit of an issue making a IK/FK switch that blends between bone systems with stretch.

I basically have my FK bone chain, IK bone chain, blend bones, and my control object with the IKFK switch attribute. I'm trying to get the blend bones to stretch accordingly depending on which system they're being driven by. I tried doing this by applying an if statement to the x value of the blend bone that tells it to match the x value of the IK bone when the slider is set to IK and vice versa. And it works for the most part.

The problem I'm having is that all the in-between values on the IKFK slider don't blend like they're supposed to (for example: when the slider is set to 0, I should be getting a 50% influence from both bone systems).

Do you guys know how I can rewrite the if statement so the IK and FK values blend? Or is there maybe a better way to do it that doesn't need an if statement?

This is the if statement (I don't know much about scripting, so I probably butchered it):

if (IKFK==-1) then
else if (IKFK==1)

Any help would be appreciated.
  01 January 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:22 AM.

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