• Editor
  • 360 Degree rotation tip.

Related Discussions
...

A question that is often asked is, "how do I rotate 360 degree?" so here's a small tip on that.

Rotation in Spine always takes the shortest route. That means if you have the following two keys on a bone:
Key1: 0°
Key2: 300°
The bone will rotate counter-clockwise since the distance from 0 to 300 is only 60.

图像因不支持 HTTPS 被隐藏。 | 仍然显示

Now if I want to rotate something 360 degrees the best way to do this is by adding multiple keys.
For a clockwise rotation I would set the following keys:
Key1: 0°
Key2: 120°
Key3: 240°
Key4: 0°

图像因不支持 HTTPS 被隐藏。 | 仍然显示

For counter-clockwise rotation it would look like this
Key1: 0°
Key2: 240°
Key3: 120°
Key4: 0°

图像因不支持 HTTPS 被隐藏。 | 仍然显示

I hope this will help some of you.

Don't forget, If you need the thing to rotate in one frame, you can shrink the key frames

Box select keys

图像因不支持 HTTPS 被隐藏。 | 仍然显示

Hold shift, and drag

图像因不支持 HTTPS 被隐藏。 | 仍然显示

Nice, Shiu. Did you drawded those red arrows yourself? 😃

2 年 后

Great tip. Been beating my head against the wall on this for half an hour. Workaround is functional, but very inefficient for a frequently-needed task.

Can this be added to a list for a future fix? Is there some reason values above 360 are normalized and then refactored for shortest travel?


If I need to rotate an object 2.5 revolutions, what is the best way to do that? Ideally the fewer the keyframes to adjust the better...

To rotate 2.5 revolutions you will need to to do as I posted above. We are aware that it's not optimal, so maybe in a future update we will come up with a better solution.