Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How to stop the Fluid flow?
#6
(19-05-2020, 11:01 AM)GuanGuan Wrote: It may be so.
The parameters of (disabling density constraints ) is (Obi Solver)?
(setting all particle inverse masses to zero)   Where is it?

You can disable density constraints like this:
Code:
emitter.solver.distanceConstraintParameters.enabled = false;
emitter.solver.UpdateParameters();
To set inverse masses to zero, you need to iterate over particles. See:
http://obi.virtualmethodstudio.com/tutor...icles.html
Reply


Messages In This Thread
How to stop the Fluid flow? - by GuanGuan - 19-05-2020, 04:15 AM
RE: How to stop the Fluid flow? - by josemendez - 19-05-2020, 08:17 AM
RE: How to stop the Fluid flow? - by GuanGuan - 19-05-2020, 09:51 AM
RE: How to stop the Fluid flow? - by josemendez - 19-05-2020, 10:33 AM
RE: How to stop the Fluid flow? - by GuanGuan - 19-05-2020, 11:01 AM
RE: How to stop the Fluid flow? - by josemendez - 19-05-2020, 11:11 AM