• 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.

Image supprimée en raison de l'absence de support de HTTPS. | Afficher quand même

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°

Image supprimée en raison de l'absence de support de HTTPS. | Afficher quand même

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

Image supprimée en raison de l'absence de support de HTTPS. | Afficher quand même

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

Image supprimée en raison de l'absence de support de HTTPS. | Afficher quand même

Hold shift, and drag

Image supprimée en raison de l'absence de support de HTTPS. | Afficher quand même

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

2 ans plus tard

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.