Block Attributes

viscosity

This attribute defines the fluid's viscosity. The viscosity of a fluid defines how fast it will flow. The higher the density is the slower the fluid flows. A negative value for the viscosity is not allowed.

Examples

// Default value and viscosity of water
viscosity = 1000;

// Viscosity of lava
viscosity = 6000;