This forum has been permanently closed and archived; you can still access all content but can't post anymore.

Of course, you can still join us in other places!
To get support and talk about RxLaboratory and with the team, come here: https://rainboxlab.org/support/

How to limit angle rotation in IK character rigging

Locked
Timograph

How to limit angle rotation in IK character rigging

Post by Timograph » Mon Sep 11, 2017 3:07 pm

Hello,
My name is Timothy and it's my first post here, so thank you in advance for your help.
I'm rigging a character( a drummer) but I'm gonna focus on the arm and forearm chain. I'd like to limit the angle rotation of the arm while I don't need lo limit the forearm 's rotation.
Is there a parameter I'm not aware of or do I need some extra line of code?
Arm and forearm are in the same layer and I used puppet pins to create bones and IK rigging.

Thank you

Duduf
Posts: 915
Joined: Mon Jun 20, 2016 2:59 pm

Re: How to limit angle rotation in IK character rigging

Post by Duduf » Tue Sep 12, 2017 8:32 am

Hi Timothy,

What you're asking is a difficult thing, the only way to achieve that would be to modifiy the IK expressions created by Duik. But actually, what you want is NOT a two-layer IK.

Maybe you could achieve this following these steps:
- create a one-layer IK on the forearm using a controller on the hand
- create another one-layer IK on the arm, using the same controller
- adjust the "weight" property of the IK of the arm to limit its rotation

(see the user guide for more infos on how to create IKs if you need)

I think this would do the trick ;)

Timograph

Re: How to limit angle rotation in IK character rigging

Post by Timograph » Tue Sep 12, 2017 3:16 pm

Hi Duduf,
I've just tried your method: it's easy to implement and most important thing it works !

Thank you very much!

Timo

Duduf
Posts: 915
Joined: Mon Jun 20, 2016 2:59 pm

Re: How to limit angle rotation in IK character rigging

Post by Duduf » Tue Sep 12, 2017 4:19 pm

Good!

That's the way I rig shoulders, but I never tested this to rig the arm/forearm, glad to know it worked for you!

Locked