Please tell me how to solve the problem of the flipping process of resources on certain slots when spine is flipping. Can it be directly switched to the display effect in the final direction?
Thank you so much
Some problems in the process of spine flipping
Just like this, when switching certain directions, a situation will occur. The existing resources in directions 3 and 7 need to be flipped in directions 1 and 5. How to prevent this flipping process from happening?
Logic to handle flipping
akeboshi Thank you for showing the code! From the code, I assume you are using the spine-unity runtime, right? In general, to flip a skeleton, change the ScaleX
or ScaleY
of skeleton
as described in the documentation: https://esotericsoftware.com/spine-unity#Changing-Scale-and-Flipping-a-Skeleton
It is possible to change the transform as you are doing, but in that case, I think it may not flip properly if the skeleton contains bones that have scale inheritance turned off.
Could you try changing the ScaleX
of the skeleton and see if the inversion works?