Skip to main content
Skip to main content

shallowWaterSimulationPaintDepthCircle

shallowWaterSimulationPaintDepthCircle

Description

Adds depth into the simulation in the shape of a circle

Definition

shallowWaterSimulationPaintDepthCircle(entityId shallowWaterSimulation, float x, float y, float radius, float value, float? paintHeight)

Arguments

entityIdshallowWaterSimulationid of the shallow water simulation
floatxx position of the circle center (world coordinates)
floatyy position of the circle center (world coordinates)
floatradiusradius of the circle (world size)
floatvalueto be added to depth (can be negative for removing water)
float?paintHeight[optional] height that the paint should happen at. will only be painted if waterHeight in that location >= paintHeight