Skip to main content
Skip to main content

setShallowWaterSimulationFakeExtraDepth

setShallowWaterSimulationFakeExtraDepth

Description

Sets a fake height that is added to the terrain height below the water rest level. This makes the water deeper than it really is, which causes waves to move faster and be deeper. For visual tuning purposes.

Definition

setShallowWaterSimulationFakeExtraDepth(entityId shallowWaterSimulation, float height)

Arguments

entityIdshallowWaterSimulationid of the shallow water simulation
floatheightfake height to add below the water rest level