How to restrict movement within a certain area using RVOLightweight in version 4.3.79?

Thank you for your response.


RVOLightweight is very much an example script. I’d recommend using the RVOController coupled with a movement script and pathfinding if you want to restrict an agent to a specific region.

I’m simulating the movement of thousands of entities on a map using ECS. I’m concerned about performance issues when using pathfinding in OOP.


Unfortunately there’s nothing like this built-in to the RVOLightweight script.

You could use the FollowerEntity component instead, which uses entities under the hood. You can even, if you want, instantiate all the corresponding components directly and skip the FollowerEntity script. See FollowerEntity - A* Pathfinding Project

Sure, thank you. :grin: