• Editor
  • editor different rotation behavior between 4.1 and 4.2

Hi,We are upadating our 3.8 spine game assets to 4.2.We met 360 spine rotation problem. In 3.8,we made clockwise rotation animation like next 3 images



after update to 4.2. It became counter clockwise rotation



But I tried updated to 4.1. It remain clockwise rotation correctly



It seems the local rotation value is different from 4.1 (0->-180-> -360)to 4.2(0->180->360).
Is there any way to auto handle these update changes?(We have about 4000 spine project, check by human eyes are quite error-prone)
thanks for the helps.

  • Misaki님이 이에 답장했습니다.
    Related Discussions
    ...

    When updating from Spine 3.8 to 4.2, you may encounter changes in rotation behavior due to updates in how rotations are handled. In Spine 4.0 and later, rotations can be keyed to values greater than 360 degrees, which can affect how animations are interpreted, especially if they were originally created with the older rotation logic. This change can result in animations that previously rotated clockwise now rotating counterclockwise, as you've observed. Unfortunately, there isn't an automatic tool to handle these changes across multiple projects. You may need to manually adjust the animations or use scripting to automate the process if possible. Testing a few projects first and adjusting them as needed before applying changes to all projects might help manage the workload.

    Captain510 We apologize for the issue with the rotation animation becoming incorrect due to the upgrade. In order to understand the situation accurately, could you please send us the Spine project that reproduces the issue via email? : contact@esotericsoftware.com
    Please include the URL of this forum thread in the email so that we have the necessary context. We would like to examine the project to understand the situation.

      Misaki ok. I will send 3.8 version

      • Misaki님이 이에 답장했습니다.

        Captain510 We have received your email and confirmed that we can reproduce the issue. Please wait for our detailed response.

        Captain510 Upon further investigation, we found that if you save the project once in version 4.1 and then open it in 4.2 or 4.3-beta, the rotation direction (clockwise) appears correctly in both versions. Based on this finding, we think it might be possible to fix the issue, and we have created an issue ticket to look into it further: EsotericSoftware/spine-editor919

        Although we cannot guarantee when the fix will be completed, saving the project once in 4.1 and then saving or exporting it in 4.2 is likely to serve as an effective workaround in the meantime. You can import a Spine project created in version 3.8.99 into 4.1 using the import command available in the CLI, save it as a new Spine project, and then export that 4.1-saved project using version 4.2, which should work correctly.

        In the CLI, you can specify the editor version to launch using the -u option. So, you should import the project using -u 4.1.xx and then export it using -u 4.2.xx.

        I hope this information is helpful.