there is a glitch in my 2d game where a invisible barrier will randomly stop the player from moving in that direction but if the player jumps the barrier is gone. does anyone know how to fix this?
This might help you. https://gamedev.stackexchange.com/questions/168600/player-gets-stuck-on-edges-be...