- Bearbeitet
360 Degree rotation tip.
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: Bild entfernt wegen fehlender Unterstützung für HTTPS. | Trotzdem zeigen
Key1: 0°
Key2: 300°
The bone will rotate counter-clockwise since the distance from 0 to 300 is only 60.
Now if I want to rotate something 360 degrees the best way to do this is by adding multiple keys. Bild entfernt wegen fehlender Unterstützung für HTTPS. | Trotzdem zeigen
For a clockwise rotation I would set the following keys:
Key1: 0°
Key2: 120°
Key3: 240°
Key4: 0°
For counter-clockwise rotation it would look like this Bild entfernt wegen fehlender Unterstützung für HTTPS. | Trotzdem zeigen
Key1: 0°
Key2: 240°
Key3: 120°
Key4: 0°
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 Bild entfernt wegen fehlender Unterstützung für HTTPS. | Trotzdem zeigen
Hold shift, and drag Bild entfernt wegen fehlender Unterstützung für HTTPS. | Trotzdem zeigen
Nice, Shiu. Did you drawded those red arrows yourself?
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.