#2D Look Ahead Camera Problem
3 messages · Page 1 of 1 (latest)
You could do a Math.Round() on the values of the direction vector
direction.x = Math.Round(direction.x)
direction.y = Math.Round(direction.y)
I don't know why rounding the number didn't come to mind. I'm off for the night, but I'm almost certain that will do it. Thanks