• Editor
  • Reversing Animation

Related Discussions
...

Currently, Spine does not have a direct "Flip Over" option in the editor to reverse an entire skeleton and its animations. However, you can achieve a similar effect by manually reversing the keys in the dopesheet. Here are the steps to do this:

  1. Select All Keys: Press the spacebar to make all the keys visible. Then, box select the first row to select all the keys.
  2. Resize the Selection: Hover on the left side of the box and resize it past the length of the animation to double the animation length.
  3. Move Keys: Move all the keys so that they start back at 0.
  4. Adjust Curves: If there are curves, you will need to manually readjust them as they do not automatically reverse.

For runtime flipping, you can use the skeleton.scaleX or skeleton.scaleY properties to flip the skeleton horizontally or vertically.

Here is a visual example of how curves are reversed when using box select to "flip over" the keys:

Before:

Image removed due to the lack of support for HTTPS. | Show Anyway

After:

Image removed due to the lack of support for HTTPS. | Show Anyway

For more details, you can refer to the Dopesheet view - Spine User Guide.

I hope this helps!

  • ErikaMisaki 님이 이 게시물을 좋아합니다..