Support Forum

RVO Simulator Manual Updates

Hi!
First of all, I absolutely love and rely on this package, you guys have done an amazing job with it.
I currently integrate it with my Pedestrian simulation, and I use to manually call the RVOSimulator.Update() however with recent version changes this will cause Unity to freeze indefinitely.

I noticed your notes regarding RVO: “the rvo simulation will never run at a higher fps than the game”, and I assume even with double buffering it would only be 2x the game frame rate.

I was wondering if there was a way to manually call RVO simulator updates so I can run them in time with my Pedestrian simulation, ie a variable amount that could reach many hundreds of times a second.

Any help would be greatly appreciated!

Thank you very much

Hi

I’m not sure if you are using the beta version, but I’ll assume you do.
To do this you will need to modify the RVOCoreSimulatorBurst.cs script. The Update method refers to Time.time, you will need to change this to pass in your own time variable since I assume you are not using Unity’s time.