Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  stop simulation
#1
Hi

English is not my language, please excute this.

In my project, sometimes it needs to stop the fluid simulation to make high performance so i disabled obisolver component or updater component as you mentioned.

It stopped the simulation but it disappeared the particles like what used a mesh(Obi Instanced Particle Renderer)

How can i stop simulation without disappearing?

Thank you.
Reply
#2
(27-05-2020, 12:49 PM)lpdev22 Wrote: Hi

English is not my language, please excute this.

In my project, sometimes it needs to stop the fluid simulation to make high performance so i disabled obisolver component or updater component as you mentioned.

It stopped the simulation but it disappeared the particles like what used a mesh(Obi Instanced Particle Renderer)

How can i stop simulation without disappearing?

Thank you.

Hi there,

The ObiFixedUpdater in your case is in charge of updating the solver in FixedUpdate(), and updating rendering in Update(). You can slightly modify it to disable the code in FixedUpdate() and leave the rendering intact, relying on a simple boolean value.
Reply