## Stuck in the wall.. - April 13th, 2025 **Description:** When the playerjumps and moves to the right into a wall, slides down the wall and hits the ground, the player then gets stuck one pixel into the wall. **Likely Cause:** Our players movement is calculated as floating point values for smooth movement, however to ensure pixel perfect rendering we most round the player position to an integer value when the player stops. When the player jumps into a wall to the right the player x position stops at a floating point value and then rounds to the nearest integer once the player hits the ground. This can lead to the player position being rounded into the wall. **Possible Fix:** Detect which side of the player bounding box is hitting the wall, e.g. left or right and decide to round up or down depending on the side. **Fixed:** Added a new method to the collision manager that gets the side of the players bounding box that hits a wall. We can use this to decide whther we need to round up or down when cleaning up player position values. I also added logic to get top, bottom and none for future things..