Detect (in code) that location is crowded

I need to detect programmaticaly that the location RichAI is trying to reach is crowded (by RVOController) - there will be different movement logic for my agent. I could not find anything near it in the public API of both RichAI and RVOController

Hi

If you are using the beta version you can check ai.rvoDensityBehavior.reachedDestination (which will be true when it has reached its destination or the destination or crowded) or ai.rvoDensityBehavior.lastJobDensityResult (which will be true when the destination is crowded).

1 Like