• Unity
  • ScaleX issues when changing root rotation in spine editor

Related Discussions
...

I have a death animation where the sprite falls to its knees, then flaps down on its face. I use the origin to shift my spine animations rotation so that its flat on its face when it is dead.

The problem is that when I flip the sprite with scalex in unity this also effects the rotation of the animation (due to it effecting the origin). So now instead of being flat on its face, its upside down looking at the sky and flipped.

I assume this is a intended behavior so my question is how I should go about translating an entire object so not to be effected incorrectly by the scale x change.

Would adding a core "base bone" to the root and then binding everything to that be a more optimal solution?

Could you post a screenshot of the current situation, showing where your bones and origin are during animation?

Sorry for the delay, needed some time to make a sfw version of the base character template.

I hope this appropriate and also what you wanted

Spine

Unity with ScaleX -1

ignore the purple hair, thats just the equipment system in game

Thanks for the screenshots and animated gifs, now I can see your problem.
This could be a bug in the spine-runtime, could you please send us your exported assets as a zip file to contact@esotericsoftware.com, then we can have a look.

I sent the files. I will warn that these are the files presented as is and not changed from my original post so include the original nsfw base. You should easily be able to switch the skin to "censored" which will use the black silhouette version. Thanks for looking into this issue.

Thanks for sending the files. We will get back to you as soon as we have gained any insights about your problem.


It is a problem not only in Spine Unity but also with other runtimes. Thanks very much for reporting.

It seems to be the same problem as this issue here, I have added it to the issue description:
[runtimes] Scale of -1 results in incorrect bone orientation · #1373
You can track this issue ticket here to receive notifications upon updates.


The problem has been fixed.

A new 3.7 unitypackage can be downloaded from here as usual:
Spine Unity Download

un mes más tarde

Thank you so much for solving the bug so quickly. I apologize for taking so long to respond back. Very busy month.

The patch appears to have worked great! Thank you so much!

Glad to hear it helped! Thanks for getting back to us.