Home Website Youtube GitHub

Chain_02 double rotation

Hello,
I ran into a bug using chain_02 for fingers, just want to report it.

mGear version 4.3.0
Maya 2024

Rotating the wrist will also rotate the chain’s “*_0_loc”, giving a double transform.
chain_02_bug

The issue might be related to how the locators are constrained:

Thank you,
Paul

What’s the difference between these chains in your guides? Why is the pinky different?

If it worked for the other fingers, then this might be a settings issue in your component settings.

If it’s a bug, then that question would still help to recreate the problem and find what caused it.

Hi Chris,

The pinky is using chain_02 and the other fingers are using chain_01 for comparison.

I believe the settings for chain_02 (to aim at children and mirror L to R) will give the same break seen in the gif regardless.

Thanks,
Paul

1 Like

Thanks! I missed the point in your screenshot that it meant the component names. I get it now. :slight_smile:

Hi @hongd
Can you create a ticket on github? Thanks!

(This isn’t version 5 though.)

Hello,
After looking into this a bit, I found that if I insert a multMatrix before the decomposeMatrix node, multiplying the existing plug with the locator’s parentInverseMatrix, the double rotation should be fixed (with or without ‘aim at child’ setting.)

result:
chain_02_fix

Hope this helps with debugging.

Thanks,
Paul

3 Likes

Thanks
I have created a ticket here https://github.com/mgear-dev/mgear/issues/478

1 Like