I’ve found a couple of solution in this thread: I guess I’m trying to block a occupied node, how do I do that?
- add a penalty to the occupied nodes and check the path to verify they are not used
- set the occupied nodes as unwalkable
Resource wise what’s the better solution between the two?
I tried the second solution and it works fine, the only problem is I had to halve the size of the nodes to have a decent result. Could this create any problem?
Thanks.
Edit:
This is the problem I have now, even if I set the nodes as unwalkable, some agents keep trying to push their way in.
If I increase the number of nodes set as unwalkable, the problem persists.
Any idea? Thanks.