I am making a game where an enemy follows the player around the stage, I already did this.
My problem is when the player is behind a solid, the enemy stops (animation continues) and does not advance unless the player moves.
What I would like to achieve is for the enemy, when colliding with the solid, to do a "bound to layout" style effect and keep moving forward until it manages to surround the solid and continue follow me.
Here is the c3p file:
I hope you can help me, thanks.