- Modifié
[Unity] Scale/Flip not working as intended on 3.7.85
Hi there,
I've recently updated the runtimes and Spine to 3.7.85. Everything seems to work as intended on Unity, but the flip (now scale) is doing something weird.
I've changed my "Skeleton.FlipX = true" to "Skeleton.ScaleX = -1" and nothing more, but now SOME characters are making some weird transition on the flip but not always. I think the Scale is mixing the same way the animations are, but removing the mix of all the animations didn't solve it.
Any idea on how to solve this?
Thanks.
For a temporary workaround: Is there any chance you can change the scale of the Unity gameobject instead to see if that works? I flip my spine objects by just *= -1 on the gameobject.transform.localscale
Hi valorware,
I COULD do that if there's no other way, but I use physics on the game and changing the scale will interfere with that. That's the reason I was flipping the Skeleton instead of the GameObject.
We have not yet encountered any problems when flipping via Skeleton.ScaleX *= -1 before. Could you please create a zipped package of a minimal Unity project that shows this problem and send it to contact@esotericsoftware.com? Thanks!
Well, today is not happening at all and I didn't do anything to it... So... let's hope this was something weird for our side. If I see some clue I'll ask again.
Thanks anyway Harald!
Thanks for the info, glad it works!