The enemy object manages to create a path to avoid the solids but where there are tight corners or turns, the enemy object just overlaps the obstacle.
I want to create an enemy movement similar to pacman's ghost AI, following a tiled movement without crashing and dragging against the wall.
Any help will be greatly appreciated!!