Improve player movement near walls
Opened this issue · 0 comments
larspensjo commented
When the player tries to move at an angle towards the wall, he will not move at all. The current algorithm extrapolates the "next position", and stops the movement if it is inside a wall.
Instead, the player should be moved in parallel to the wall.