Answered

animation is different in the preview mode and the edit mode

fengkan 4 years ago updated by Peter - Soxware Developer 4 years ago 3

Hi, Peter, I found an animation seems to be different in the inspector preview and in UMotion clip editor.

in Unity inspector

Image 434

when being edited in UMotion Clip editor

Image 435

The distance between the hands is different, what may be the reason for that? Thank you.

UMotion Version:
1.22p10
Unity Version:
2019.4.2f1

Answer

Answer
Answered

Hi,

thank you very much for your support request.

Try toggle the "IK" button shown in the preview window. Humanoid is a "lossy" animation format (like jpeg is a lossy image format). That means that the end-result is always expected to have small differences. If you aim for animations that are precisely equal to the authored version, use generic instead (it is the lossless format, similar to how bmp is a lossless image format). Humanoid has the advantage of being capable of playing an animation on different characters (at the expense of animation quality).

More information about humanoid (it also explains the IK feature mentioned above): https://blogs.unity3d.com/2014/05/26/mecanim-humanoids/

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

Best regards,
Peter

GOOD, I'M SATISFIED
Satisfaction mark by fengkan 4 years ago
Answer
Answered

Hi,

thank you very much for your support request.

Try toggle the "IK" button shown in the preview window. Humanoid is a "lossy" animation format (like jpeg is a lossy image format). That means that the end-result is always expected to have small differences. If you aim for animations that are precisely equal to the authored version, use generic instead (it is the lossless format, similar to how bmp is a lossless image format). Humanoid has the advantage of being capable of playing an animation on different characters (at the expense of animation quality).

More information about humanoid (it also explains the IK feature mentioned above): https://blogs.unity3d.com/2014/05/26/mecanim-humanoids/

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

Best regards,
Peter

Hi, Peter, thank you for the answer, and the detailed explanation.

I tried the IK toggle, but it seems to only affect the feet?

And should I first convert this animation into a generic one, edit it in the UMotion editor, then convert it back to humanoid in this case?


Best regards,

Fengkan


And should I first convert this animation into a generic one, edit it in the UMotion editor, then convert it back to humanoid in this case?

If you want you can just switch to generic:

  1. Configure your character as generic.
  2. Create a new UMotion project of type generic.
  3. Import the old humanoid UMotion project.
  4. Export the animation --> the resulting *.anim is now generic and can be used with your generic configured character.

Best regards,
Peter