Under review

wrong angle when bending IK

Михаил Михеев 6 months ago updated by Peter - Soxware Developer 6 months ago 1

Hello, how i can fix it? In blender i have a smooth angles, but here I can’t get it

UMotion Version:
1.21p1
Unity Version:
2019.2.17f1

Answer

Answer
Under review

Hi,
thank you very much for your support request.

UMotion uses a CCD IK algorithm (when the IK chain consists of more than two bones). The result you get is a valid result for the CCD IK algorithm (as it reaches the target). Unfortunately there is no option to get a smoother/rounder result.

You can either use FK and pose the bones manually or you can use a custom IK implementation (either writing your own or use an existing solution from the asset store) that behaves like you need it. You can then let UMotion call your custom script so that you can use it inside UMotion. You can also decide if you want to bake the result into your animation (so that the script doesn't need to be executed during run-time to save some CPU performance). Click on the info button marked below to open the related manual page for further information:

Please let me know in case you have any follow-up questions.

Best regards,
Peter

Answer
Under review

Hi,
thank you very much for your support request.

UMotion uses a CCD IK algorithm (when the IK chain consists of more than two bones). The result you get is a valid result for the CCD IK algorithm (as it reaches the target). Unfortunately there is no option to get a smoother/rounder result.

You can either use FK and pose the bones manually or you can use a custom IK implementation (either writing your own or use an existing solution from the asset store) that behaves like you need it. You can then let UMotion call your custom script so that you can use it inside UMotion. You can also decide if you want to bake the result into your animation (so that the script doesn't need to be executed during run-time to save some CPU performance). Click on the info button marked below to open the related manual page for further information:

Please let me know in case you have any follow-up questions.

Best regards,
Peter