• Runtimes
  • Some problems in the process of spine flipping

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

    Related Discussions
    ...


    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?

    akeboshi What runtime are you using? Also, show us the code you use to flip skeletons.

      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?

        Misaki
        Thank you very much for your reply. I found that the problem lies in the spine resource. The mount slot has a rotation value, which causes problems displayed during runtime.