Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Trying to make obi fluids work with terrain holes
#6
(20-02-2026, 01:55 PM)abhijathandsi Wrote: Hey @[font=Tahoma, Verdana, Arial, sans-serif][b][b]josemendez [/b][/b]!

I think the issue in my case is that im updating the terrain as well as any other objects that are of the layer "Ground" in runtime and its happening before the next simulation cycle or in between making the heightfield null or inaccurate.

UpdateHeightData() must not be called while the simulation is running. Obi is a multithreaded engine and simulation data is *not* double buffered, so if you modify it while the engine is running you risk undefined behavior.

Call it during solver.OnSimulationStart. See: https://obi.virtualmethodstudio.com/manu...olver.html
Reply


Messages In This Thread
RE: Trying to make obi fluids work with terrain holes - by josemendez - 20-02-2026, 03:55 PM