So I would like to adapt the RVOExampleAgent script for 3D environment and for multiple character.
I have a group of 10-15 character in block and I would like to have another character who can go through this group and each character of this group avoiding him as it is show in the RVO scene.
The “MyAgent” script is the RVOExampleAgent modified and where I added your script part.
The NPCCharacter manage the animation
The NPCBehavior inherit from RichAI and is used to move the character to a target.
It’s actually work well but when my AI avoid the character, their RVOController.velocity.magnitude is not always inferior to 0.5, that make my units to rotate or be OnMove.
My best guess would be that the Agent Time Horizon field on the RVOController is too large and your for your agents to find collision free trajectories for that amount of time leads them to take very conservative velocities.
Do you think you could post a screenshot of your RVOController settings?
Hello, so yes the problem was that the RichAI and the RVOController tried together to move my character… that was the problem. It work really well now. Thank you for your help ! And thank to @Dee_Lucky for the script.