04-11-2024, 09:05 AM
(This post was last modified: 04-11-2024, 09:05 AM by josemendez.)
(01-11-2024, 07:01 AM)spikebor Wrote: Hi, thanks for the reply. But as I just test, no need to use script, you can test by change the speed to 50, wait a few secs, then 0, by changing value in the inspector. the foam particles will stay frozen in place after all the fluid particles die out. I've test this with various foam's atmospheric drag value from 0, 0.1, 0.5, 1 all same result. So, it's hard to say it is not independent on the emitter.speed, or I may say fluid particle count. As the frozen effect only happens when all fluid particles had died. Pls check it when you have time, thanks again!
Hi Spikebor,
I could reproduce this issue when using the Compute backend and having foam lifetime longer than fluid lifetime. The Burst backend is not affected. This is a bug, since the system isn't designed to work that way.
Replace Obi/Scripts/Common/Backends/Compute/Solver/ComputeSolverImpl.cs with the one attached to this post, that should fix the problem.
Let me know if I can help in any way,
kind regards