Got a question about background collision vs. overlap... Need ideas on a solution.
Here it is: I want a monster to stop when colliding with a background obstacle, but then keep looking at the player and starting to move again toward the player when the player is within line of sight.
What happens now is that if the monster is set to stop when colliding with the obstacle, it seems to keep going right on through (the stop must just be happening only once and then it keeps heading toward the player.)
However, if the monster is set to stop while overlapping background obstable, it stops alright, but it stays stuck on the background object... very annoying.
I tried several fixes, including having it bounce off the background object, but it looks dumb.
Any ideas at fixes?