Essentially, I am making a game where players can take on different jobs in a city. There are also NPCs, however, which fill in empty roles and do the more important jobs. I have the job asssignment and basic pathfinding working well, but there is just one problem: when two or more NPCs are attempting to walk in the same area, but in opposite directions, they simply walk into each other. I am using the function to check for path occlusion, but it does not seem to detect that there are characters in the path.