it was due to floating-point error. The error was happening at the corners of the bounding boxes, causing random stop to player’s movement. So, I had to apply special code for the corner cases.
Be careful with floating points.
it was due to floating-point error. The error was happening at the corners of the bounding boxes, causing random stop to player’s movement. So, I had to apply special code for the corner cases.
Be careful with floating points.