YukiRain

I implement root motion in my action game in this way

https://github.com/YuzikiRain/Learn/blob/master/Unity/Spine/implement%20root%20motion%20in%20special%20way.md

(environment: Unity2018.4.1f, Spine runtime for unity 3.7)

just copy the root bone motion baked and paste to gameObject position, but it's a little complex, and I wonder is there any plan to implement root motion in Unity runtime?
YukiRain
  • Сообщения: 3

ara

There was a experimental version of rm:
https://github.com/pharan/spine-unity-experimental/tree/spine-rootmotion
I'm not sure when it will become release version.
Also wondering.
Аватара пользователя
ara
  • Сообщения: 47

YukiRain

It takes me more than 3days to find a solution for root motion, also I find this solution @ara, but unfortunately it does not work for SkeletonMecanim, it just work for SkeletonAnimation, and I finish most of work in Mecanim in my action game, so Arts can naturally complete animation with root motion in Spine Editor, I just need to add them to Unity Animator, set some parameters to translate between state.
YukiRain
  • Сообщения: 3

Harald

Thanks for sharing this detailled writeup YukiRain.

Since this is an important feature, we will add it to the runtime in the future, there is now a combined ticket here:
https://github.com/EsotericSoftware/spine-runtimes/issues/1417
Аватара пользователя
Harald

Harri
  • Сообщения: 1054

YukiRain

glad to hear that! and hope my solution can help others who need root motion.
YukiRain
  • Сообщения: 3


Вернуться в Unity