How use the RVO feature with flow field pathfinding?

Is it possible to insert the RVO feature from A* pathfinding project pro with the flow field pathfinding I wrote my own?

Hi

I would suggest that you use the flow field directions as input to the A* local avoidance system. Then the agents will navigate along the flow field, and use rvo for the final, small-scale interactions.

Thx for your reply, is the A* local avoidance system inculde in FollowerEntity script?Should I started read from FollowerEntity

If you’re asking if FollowerEntitiy has the RVOController built-in, then yes, it is. Here’s a semi-related excerpt from the documentation that may help a bit:

The FollowerEntity uses the Entity Component System (ECS) internally, and so it cannot use the RVOController as a separate component. Internally, both are simulated in exactly the same way.

…As for if the FollowerEntity script has RVO directly embedded in its class?.. That is an aron question haha. It could be an interface or something above my head- so how it actually comes together in code I do not know, but on the surface level, yes, FollowerEntitity has RVO built in :+1:

Thx,I’ll read the FollowerEntity code and find the solution

FollowerEntity has pretty complex code. If you want to figure out how to use local avoidance from your own code, I would recommend reading the AIPath script, as that’s the simplest one that uses RVO (or even RVOExampleAgent, which is even simpler).