Question by
Prog_Meisters · Nov 22, 2015 at 12:41 AM ·
movementfloatingpoint
Transform position ending up at strange coordinates
I'm trying to move an object in a grid like manner. Since the sprite is 32 pixels wide i set it to add .32 to the transform axis in the direction it's moving. After not too long it ends up in inexact coordinates like the position.x in the image. What's causing this? If the object moves too much this only gets worse.
What's the best way to achieve exact grid movement?
inspector-transform.png
(24.5 kB)
Comment