Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Boiling Fluid?
#4
(03-08-2020, 11:53 AM)amperdev Wrote: Can't I trigger the Obi particles to stop using gravity so they float off while changing their material color?

Yes, but it doubt that would give a very convincing boiling fluid effect. Would look more like colorful zero-g water Indeciso

(03-08-2020, 11:53 AM)amperdev Wrote: As for faking it how would you go about adding force to the liquid? say I'd want it to start boiling when it enters a trigger.

Just write some values in the solver.externalForces array. This is a per-particle array containing the total external force for each particle.

To get contact info for the current frame, subscribe to the solver's OnCollision event. Then you can filter contacts to determine which ones involve the trigger:
http://obi.virtualmethodstudio.com/tutor...sions.html
Reply


Messages In This Thread
Boiling Fluid? - by amperdev - 03-08-2020, 11:02 AM
RE: Boiling Fluid? - by josemendez - 03-08-2020, 11:08 AM
RE: Boiling Fluid? - by amperdev - 03-08-2020, 11:53 AM
RE: Boiling Fluid? - by josemendez - 03-08-2020, 12:00 PM
RE: Boiling Fluid? - by amperdev - 03-08-2020, 12:13 PM