Question by
ronaldovelo · May 05, 2017 at 01:42 PM ·
c#rotationgameobjectrotate
Undesired Angles with transform.Rotate(...)
I'm rotating a GameObject arround Y axis by 90º, "transform.Rotate(0, 90, 0);", and I'm getting a problem...the final that I'm getting is 90.00001º which can influence everything, if I translate the GameObject the position will suffer some undesired values too, very small but crucial values, can someone explain what am I doing wrong? I'm getting this in Unity 5.4.2f1 and 5.6.0f3
transform.Rotate(0, 90, 0);
print-2.png
(54.7 kB)
Comment
Your answer
Follow this Question
Related Questions
Check rotation of an obstacle 0 Answers
Gun-recoil problem C# 0 Answers
Rotate object with 90 degrees? 1 Answer
Rotate player with mouse. 0 Answers
Multiple rotations make a mess! 0 Answers