0 votes
asked in General Help by
Is it possible to transition from a rootmotion animation to an in-place animation AFTER the the rootmotion has moved the character from x=0, z =0 (origin)?

I have a character that is using in-place for walking. I use root motion to climb over fences. When the climb fence animation is complete, the character is about 3 feet forward. When I try to transition back to the in-place animation, the character gets pulled back to the origin...which makes sense.

My question is: Is there a way to blend these two types of animations without issue or would I have to choose rootmotion or in-place for all animations?

Btw, umotion has helped my A LOT...thanks for making a great product!

1 Answer

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

Hi sbmhome,
thank you very much for your support request.

You could try to enable root motion for the walk animation but remove any movement in the root motion curve. In other words, make sure that the animation curve of the "hips" (or whatever bone that drives your root motion) has no difference between the first and last frame. That way your character should still walk in place but might transition correctly with other root motion animations. (PS: I haven't tried that for myself).

Please let me know if that works.

Btw, umotion has helped my A LOT...thanks for making a great product!

Thanks for your nice words, I'm glad you like UMotion.

Best regards,
Peter

commented by
edited
Ok, it seems that I found the solution. It was just my lack of knowledge on the subject as I'm an animation noob :).

There was an issue with my import settings for the climbing animation in Unity. After I unchecked Root transform Position X/Y ...it now seems to work.

Thanks a lot for the quick response!
commented by Expert (54.1k points)
Glad to here that everything is now working as expected. I fully understand your situation. All these Unity animation settings are a little bit confusing because they are 1) not very well documented and 2) spread across multiple places.

Don't hesitate to contact me in the future.

Best regards,
Peter

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

...