Jump to content

Controlling rotation direction in IK


ofer

Recommended Posts

Hi,

I have a little problem with a small IK chain. I hope I can explain it well.

I built a simple 2-bone chain, and added IK to this chain. The problem is that when moving the end affector, the angle between these two bones causes the IK solver to bend the chain inward (making that angle smaller), but I actually want it to bend the other way around. This is not very natural, but I'm rigging a robot. I tried to rotate the bones before applying the IK, and also tried to use IK with constraints but it didn't help. It seems the solver only bends in the direction of the original angle.

Is there any way around it?

Thanks.

Link to comment
Share on other sites

The IK solver always solves from the Rest Angles parameter on the bones (second tab). If you want it to bend the other way, then you can put expressions into the rest angle parameters so that the IK rest bends the other way. To visualize the rest angle parameters, choose from the top menu, Edit > Objects > IK Rest.

Link to comment
Share on other sites

Thanks. Thats an interesting tool.

But even when using this tool, the chain just switch direction, and the original shape is changed.

I posted a HIP to illustrate what I'm trying to achieve.

You can see the chain animated. If you look at it from the front view, I want bones to bend inward (to the right) as the origin

moves up and the goal to the right. But at the same time I want it bent outward (to the left) as the origin moves down.

And if it is possible to achieve that effect without moving the goal, even better.

ik.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...