Using this movement code
I just want him to be unable to continue at a wall, and be able to move away from a wall.
Develop games in your browser. Powerful, performant & highly capable.
Uhm, set walls to solid behaviour or isn't that what you mean?