precision

Transform floating point precision errors in Unity

Everyone that’s used Unity for even a small amount of time has probably noticed that it exhibits Transform floating point precision errors in certain situations. This is when your GameObject’s Transform had nice round integers for position, rotation, and scale just a second ago… and suddenly the values look like 0.99999 or 7.528331e-05. This will[…]