- Home /
wrong rotation to animation per
Sometimes unity connects two keyframes of a rotation animation in a wrong way: instead of using the shortest degree change it will make a fast flip around the axis. We've found a way to solve this by clicking in the animation editor at the corresponding curve first from "Interpolation->Quaternion" to "Interpolation->Euler Angles" and then back to "Interpolation->Quaternion". After that every rotation looks fine. Is there a way to set the interpolation per script or to avoid the problem in another way?
Your answer
![](https://koobas.hobune.stream/wayback/20220613064844im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Make ball flip around cube... 0 Answers
wrong rotation in animation per script 0 Answers
Trying to play animation made inside unity, with script, but it can't be found. 1 Answer
fbx animation beats script animation? 2 Answers
animation & position problem 0 Answers