Skip to main content
Skip to main content

shallowWaterSimulationTranslateSimulation

shallowWaterSimulationTranslateSimulation

Description

Manually translates the contents of the simulation by integer increments. Only meant for debugging purposes. Setting the world position of the simulation should do this automatically.

Definition

shallowWaterSimulationTranslateSimulation(entityId shallowWaterSimulation, integer x, integer y)

Arguments

entityIdshallowWaterSimulationid of the shallow water simulation
integerxx offset to translate the simulation contents by
integeryy offset to translate the simulation contents by