I’m making a very simple 4-directional game as my first attempt and my character keeps walking into the walls and getting stuck. I used collision detection and it works for walking into walls from the left, though there’s a jarring frame of her bouncing backwards, but she gets stuck when approaching from any other direction. I should also note I’m having her move in grid increments.
Hey @fredburma - the issue is that you are moving the character and then checking for collisions, which results in the jarring behavior you are seeing.
There are a few ways to fix this, but the simplest is probably to use the new RayCast behavior to check for a collision before moving. I’ll try to work up a quick example and post it.