Alright so I've been trying to create a system of pathfinding based on the native pathfinding plugin.
Here is what I am trying to do:
Have enemy objects find path to player while avoiding destinations of other enemy instances, i.e. no overlapping/stacking of enemies
Prevent player and enemy objects from ever overlapping
Have enemy objects find path around player object
Prevent both player and enemy objects from ever "pushing"/"moving" each other
I have been working on this for a while now, and I cannot seem to get it to work. I don't have any current examples of my effort since I've been trying different methods and recently started from scratch.
What I've recently tried is comparing the destination nodes of multiple instances to prevent the destination being an overlap point, but nothing I do seems to be able to prevent the enemy objects from finding paths through the player object and treating all other instances of itself as obstacles.
I also cannot figure out a way to stop both objects from pushing each other in any way while.
If anyone has a reliable suggestion for an alternative plugin, or an example where someone has done multiple instances pathfinding around each other, that would be incredibly helpful. I have already taken a look around the forum but I haven't been able to find anything good yet, though I can imagine zombie/ship-based games would require some basic form of this.