PDA

View Full Version : single joint chain IK/FK Switch with stretchy limb


solun
10-24-2007, 07:20 AM
I'd rig a single joint chain IK/FK switch, works fine, but did know how to match the scale of stretchy IK joint.

Anyone here has idea how to maintain the scale of joint after FK/IK switch?

Thank you for your attention

wildfire0310
10-25-2007, 11:02 PM
I know when working in maya, this is short how i been shown.

Say for an Arm

create distance locators to give the distance of each bone that makes up said Arm for the FK.
create an attribute that has the orginal length of the IK arm
then create a multiplyDivde node to divide the orginal length of the IK arm by the FK length sum. That number is then inputed as the scale of each bone
Then I go and make the minium value of the scale for each bone to be 1 so the scale can never go less then one.


I think I maybe leaving off a few steps, but hopefully that helps some. BTW I am still kinda new so it is still hard for me to explain.

solun
10-29-2007, 04:25 PM
thx wildfire,


but i can't follow all of that , is itthat for single joint chain IK/FK.


Anyway, thx again




solun

wildfire0310
10-29-2007, 05:44 PM
I build my IK/FK with three parts:

Ik joints, Fk joints, and binding joints

right now my rig is flipping out, cause my Ik handle is adding rotate values to my Ik joints, and so when I switch from Ik to Fk it not lining up anymore.

so what was working is now not... blah.

Once I figure it out, I'll post back.

Sorry

aaronholly
10-30-2007, 06:19 AM
With a single joint chain rig (arm or leg) you should not need to match scaling. Your effector will be locked to the end of the joint no matter what.

When I build a single-chain limb I have been able to scale the joints and only manage it switch between the fk/ik states. The scaling comes along "for free" in a sense.

Can you explain your setup and the problem you are having?

solun
11-05-2007, 12:34 PM
With a single joint chain rig (arm or leg) you should not need to match scaling. Your effector will be locked to the end of the joint no matter what.

When I build a single-chain limb I have been able to scale the joints and only manage it switch between the fk/ik states. The scaling comes along "for free" in a sense.

Can you explain your setup and the problem you are having?

I snap the Ikhandle for switching IK and matching rotation value for switching FK , ik/fk can be switched smoothly, but i have no idea with the stretchy scale. I use

if IK length > sum of joints
then scale of joints = IK length / sum of joints

for the IK joint scale, it works, but how can I scale joints individly after switch FK and matching the scale after swtich IK.

thx alot

CGTalk Moderation
11-05-2007, 12:34 PM
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.