Original Post
The collision detection in my 2D platformer seems very erratic. At times when I run it, the collision is perfect, and the player is kept off the floor, other times the player overlaps the floor by a small margin. Has anyone had any experience with something similar before? It appears something is wrong with the hit detection.