Can a Seeker attempt to move obstacles if there is no path?

I noticed that if there is no path to the target, the seeker will go to the closest position it can.
In my game, the obstacles could be something rigid like a wall or something that also moves, like a person/player.

What I’m looking for, is for the seeker to still have a velocity when there is no path so that it can try to push through these movable objects.

Is something like this possible?

Hi

What one can do in these cases is to instead of making nodes unwalkable you would make the nodes have a very high penalty instead. This will make the agent avoid them if possible, but it may pass through them if necessary (and if so it will try to pass through as little of the wall as possible).
See also: https://arongranberg.com/astar/docs/graph-updates.php

1 Like