Search code examples
animationunity-game-engineunity3d-2dtools

Using "broken" option in animation curves doesn't work for rotation


I'm making a game using sprite sheets, but I was curious to see if I could animate other sprites into the animation. Indeed, it is possible, however the animation's curve has to be dealt with, or else you have one part choppy, and the other very smooth. I found this resource which helped: http://answers.unity3d.com/questions/893479/how-to-make-not-smooth-multi-sprite-animation.html

While the "broken" curve works for translation, it seems to be without effect on rotation. This is what happens instead:

enter image description here

As you can see the curves are straight, but the animation does not reflect that.

I'm wondering if this is a bug?

I haven't found any other resources mentioning it. I realize I can simply create another sprite sheet, but it'd be efficient if I could do it in this manner, I believe.


Solution

  • Try setting different interpolation modes from context menu of rotation property. Eeuler angles( Quaternion Approximation ) should be suitable for you

    enter image description here