Local Avoidance and Player Controled objects

I‘ve created 2 Ai controlled object running around small room. They are using RVO Controllers to avoid each other. Now I’m trying to add player controlled character. How should I approach it so that the other 2 object would avoid it?

If I add the RVO Controller to the player character it works laggy and AI controlled characters will move the player when they are close to him.

I also tried to use unity Character Controll with the RVO obstacle to the player controlled object. This time main character works fine but the player can push the AI controlled object outside the room through the walls.

Any suggestions??

1 Like