Hi everyone!
I'm planning to have a survival game of sorts with enemies pathfinding to the player. There's going to be walls that the player can place down to build a base. I want the enemies to stop on the wall and progressively break it down over time.
My first idea was to have the enemies not account for the walls in their pathfinding, and simply on collision, freeze them until the wall breaks.
I was wondering if there's a better approach to this, or if someone's done something of the sort in the past.
Thanks!