I’m trying to do a small project to see how a cRPG system works. Basically 5 party members, a single small map and a few enemies.
I’m using recast graphs and i’m left scratching my head on how to handle blocking off paths. For example, doorways. If I have 1 or 2 characters standing in a doorway, how should I block the path off completely UNTIL they move out of the way. Another example would be between crates. Let’s say I have 2 crates near each other with enough room for 1 character to fit/pass through. I want to make it so, that if someone is standing there, another AI that’s trying to go to the other side will not try to bang his head against the other AI between the crates, but rather move around.
Just how possible is this with recast graphs?
Another thing is i’m having RVO problems. As a very basic example lets say I have ai X standing in position x, and ai Y standing in position y. I want X to go to y and Y to go to x position. Yet when they both meet, they start doing a “little dance” together, spinning around. Then after 2-10 seconds, they barely slip past each other. I’m using the default settings on RVO, with just the radius down to be the same size as the characters. Is this how they should behave?
Any help would be greatly appreciated with either issues.