Hey guys,
I’m making a simulation game and I am trying to configure 2D RVO.
I attached a RVO simulator script to my scene’s A* object which also holds the script “A Star Path”. This is an empty object.
I have the scripts : Seeker, AI Lerp, Simple Smooth Modifier, and RVO controller attached to my objects that will be doing pathfinding. The object is a 2D sprite with a circle collider and rigid body. Removing the circle collider and rigidbody didnt seem to have any effect on my problem. The sprites are all at Z=0, and the floor is also at Z=0. The RVO controller has a radius and height of both about 0.55. Mask Everything, Layer Default Agent, and Collides with Everything.
I have some square blocks that have the RVO square obstacle attached to them. The pathfinding worked fine before i added the RVO scripts, now they pathfinding
So the problem im having is when I run the simulation, the pathing objects start teleporting and shooting in random directions. They will occasionally find a path, but it doesnt seem to have any avoidance. Without RVO they are programmed to just find a random path within a couple of units around them and go towards it. It works fine until I add all the RVO components. I have taken a video of my issue and have posted the link below. Please let me know if you can help!