Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: ItzArranT on June 22, 2017, 05:40:50 PM
-
I'm making a game where pixel-perfect positioning is extremely important.
When I move my main character (who travels in straight lines only) and it collides with a wall and consequently stops moving, sometimes the transform position is not an integer value- and I'm not sure why that's happening when all colliders are sized correctly.
Is there a way to round up this value to the nearest whole number?
-
Hi.
On the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) you can find an action called 'Float Round'
You can try that one :)
-
Thanks for the help djaydino- really appreciated :)