Preventing agents from going to edges near obstacles

Hey Aron.

I’m having issues with this again because due to RVO agents are pushing each other very close to the edge of the map, and then my internal code gets confused because no agent should be able to walk that close to the void (edge of map).

Is there now perhaps any way to limit the agents movement? Something that would be very useful is the ability to limit RVO agents to the walkable surface by using their radius field. The same way they stay away from each other and respect the radius circle, why can’t the same be done with obstacles?

I know you said that any blue area is legal to walk on, but with the addition of the above suggestion it would fix my problem, without having to meddle with settings or erosion which doesn’t fit into my game.