Skip to content

Extended from PhysicalObject Fluid

This class is used to simulate fluids

Properties

number Density

Indicates how much dense the fluid should be. Higher values indicate a denser fluid, affecting buoyancy and movement of objects within the fluid

number Viscosity

Determines the flow resistance of the fluid. Higher values indicate a thicker fluid, affecting the speed at which objects can move through it

number WavesAmplitude

Specifies the magnitude of the fluid waves. These waves are not visible but influence buoyancy and object stability.

number WavesSpeed

Determines how fast the waves should move

Methods

There is no methods for this class

Events

There is no events for this class