Answered

Animating a game object with a character in Umotion pro.

gal kinan 2 years ago updated by Peter - Soxware Developer 2 years ago 1

When animation in Umotion Pro a Humanoid character holding an object with child off constraint and then exporting a clip and applying the clip on another Humanoid character with the same rig create problem. When I try to apply the clip the child off object does not have the same translation and rotation as when animated within Umotion pro. The animation that is done on the object control itself seam to be gone. Is There a way to import the info of the object also with the info of the character ?

UMotion Version:
1.28p04
Unity Version:
2021.2.16f1

Answer

Answer
Answered

Hi,

thank you very much for your support request.

Unity by itself is not capable of doing animation re-targeting between generic objects. It can only re-target the humanoid bones.

One possible solution would be by using a combination of animation events and scripting (Transform.SetParent()) to do the parenting. In your scripting you need to also control the offset to match each character.


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

Best regards,
Peter

Answer
Answered

Hi,

thank you very much for your support request.

Unity by itself is not capable of doing animation re-targeting between generic objects. It can only re-target the humanoid bones.

One possible solution would be by using a combination of animation events and scripting (Transform.SetParent()) to do the parenting. In your scripting you need to also control the offset to match each character.


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

Best regards,
Peter