- Home /
Can't rotate GameObject with Animation in Unity 5.3?
Hi, I was making some animation in Unity for my guns from animation window and I found that I can't animate the rotations.
I can animate the positions but somehow I can't change rotations and I am sure recording the animation.
Before Unity 5.3, I didn't have this problem but after changing to 5.3, I have.
Does anyone else have same problem? And if you now the solutions, please let me know.
Thank you for reading.
Answer by barbietunnie · Jan 10, 2016 at 07:27 AM
@BanzaiNinjaSushi: You need to change your interpolations to either Eular Angles(Quaternion Approximation) or just Quaternion, as the default Eular is broken. It should work after carrying out this change
To learn more on Animation Curves: http://docs.unity3d.com/Manual/animeditor-AnimationCurves.html
Yeah, probably you are right. I just saw the animation curve and it wasn't curving and it was straight line. I'll check the link asap! Thanks you so much for your help!!
I changed it to Quaternion Approximation and it worked fine!! Thanks you so much, again!!
Your answer
![](https://koobas.hobune.stream/wayback/20220612054550im_/https://answers.unity.com/themes/thub/images/avi.jpg)