- Home /
iTween Rotation Not Precise
Why in the heck do I get inaccurate results with iTween?
iTween.RotateBy(object,iTween.Hash("y",.5f,"time",.5f,"oncomplete","ObjectTurnComplete","oncompletetarget",gameObject));
I end up with something like 179.8242 when I'm looking for 180
Same thing for all the rotation functions....
Please help - thanks
the same thing happened to me in the last game I made, and I am not using itween. (well I might be using itween, but I don't even know what that is) The inacurate rotation was very problematic. very frustrating I hope you get your answer
Sure I could round it off, but doing that for lots of objects seems silly.
Your answer
![](https://koobas.hobune.stream/wayback/20220613110406im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
itween PutOnPath rotating 1 Answer
Rotation of GameObject using iTween 1 Answer
iTween not precise? 1 Answer
itween path restrict rotation on TWO axis 0 Answers
Parallel animation play using iTween 1 Answer