Help How to stop the Fluid flow? - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Help How to stop the Fluid flow? (/thread-2250.html) |
How to stop the Fluid flow? - GuanGuan - 19-05-2020 Please excuse my English! I want to simulate the sauce Idea is: generate some fluid, stop the flow of the fluid effect, don't let the liquid out, stop collision physics such as feedback. How should do? RE: How to stop the Fluid flow? - josemendez - 19-05-2020 (19-05-2020, 04:15 AM)GuanGuan Wrote: Please excuse my English! Hi GuanGuan, No worries! To stop the fluid, set the emitter's speed to zero. See: http://obi.virtualmethodstudio.com/tutorials/emitters.html Emitters work like a real work faucet: by opening/closing the faucet, you control both the amount and speed of fluid that comes out. Quote:stop collision physics such as feedback. Don't really know what you mean by this? cheers, RE: How to stop the Fluid flow? - GuanGuan - 19-05-2020 (19-05-2020, 08:17 AM)josemendez Wrote: Hi GuanGuan, Stop the flow of existing Fluid It's like the water in the pipe is frozen and can't flow RE: How to stop the Fluid flow? - josemendez - 19-05-2020 (19-05-2020, 09:51 AM)GuanGuan Wrote: Stop the flow of existing Fluid If you mean turning the liquid into a rigidbody, can't be done. Closest thing you could do is disabling density constraints, and setting all particle inverse masses to zero. That would stop flow, but the resulting fluid would just be frozen in space. Would not react to any external forces. Is this what you're after? RE: How to stop the Fluid flow? - GuanGuan - 19-05-2020 (19-05-2020, 10:33 AM)josemendez Wrote: If you mean turning the liquid into a rigidbody, can't be done. Closest thing you could do is disabling density constraints, and setting all particle inverse masses to zero. That would stop flow, but the resulting fluid would just be frozen in space. Would not react to any external forces. Is this what you're after? It may be so. The parameters of (disabling density constraints ) is (Obi Solver)? (setting all particle inverse masses to zero) Where is it? RE: How to stop the Fluid flow? - josemendez - 19-05-2020 (19-05-2020, 11:01 AM)GuanGuan Wrote: It may be so. You can disable density constraints like this: Code: emitter.solver.distanceConstraintParameters.enabled = false; http://obi.virtualmethodstudio.com/tutorials/scriptingparticles.html |