Add foam particles to liquids to create bubbles, foam, and spray effects. Foam can emit into all types of liquids at, above, or below the surface. You can also generate foam if you emit liquid into an existing liquid with a different density, such as in the case of a hot-tub liquid effect.
Foam particles emit continuously into liquids with an initial density value that dissipates after emission. Foam particle density and rate of dissipation depend on particles' proximity to the liquid surface.
- At the surface (foam), particles have a density of 1 and dissipate based on the set Dissipation Rate.
- Below the surface (bubbles), particles have a density of 1 plus the Max Liquid Depth value, inherit the set Buoyancy value, and do not dissipate.
- Above the surface (spray), particles have a density of less than 1 and dissipate faster than the set Dissipation Rate.
See also Bifrost Foam properties attributes.