0 votes
asked in General Help by
my animated animal is up after having added a root motion to the animation

I have a generic (not legacy) animation like run for my animal. It is an in-place animation. I copied it and added a root motion to the clip to make it a root motion animation. The root motion works, but on terrain, the animal doesn't go down along the slope . It runs up in the air, not on the terrain. The animal has a Rigibbody attached (500 kg plus gravity and freeze rotation) and collider attached.

1 Answer

0 votes
answered by Expert (162k points)
selected by
Best answer

thanks for your support request.

You might want to try the following: Instead of exporting your animation as *.anim, export it as *.fbx (that can be changed by clicking on the gear icon = the settings button).

Then in select the exported *.fbx in Unity's Project Window and open the Inspector Window. Click on the "Animations" tab. Try to enable "Bake Into Pose" for the "Root Transform Position (Y)":

Btw. I've also found this thread in the Unity forum: https://forum.unity.com/threads/solved-root-motion-with-rigidbody-and-gravity.351726/

Please let me know if that solves your issue.

Best regards,

commented by Expert (1.1k points)
The option bake into pose is also available if you export as .anim.
commented by Expert (162k points)

Yes but currently only when exporting a humanoid animation as *.anim. The op is asking for generic clips which generally also offer that option but not for clips exported by UMotion at the moment. UMotion would need to export the root curve in a different way than how it's currently doing it (see http://support.soxware.com//708/missing-inspector-settings-after-export) to make that option visible. This will probably be changed in a future version.

Best regards,

commented by
Thank you, Peter, the problem solved!

Soxware Support

Here you get official product support by the developer and the community for all Soxware Products for Unity®.

Post as guest, login via Facebook or create an account.

Ask questions, report bugs or provide feedback. Please use the correct category and always post in english.

For private email support, please use the Support Form to create a support ticket.

Copyright © 2017 Soxware Interactive | All Rights Reserved | Impressum