Open btror opened 1 year ago
To add context, since the path is calculated before the animation (entity spawning) begins the block type of the "maze" area doesn't matter after the animation starts. In other words, if you start a pathfinding animation and put blocks in the way of the path it will just go through them as per the original path calculation.
When the pathfinding animation is happening and new obstacles/blockers obstruct the already-calculated path, a new path should be generated if possible.