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
| entityId | shallowWaterSimulation | id of the shallow water simulation |
|---|---|---|
| integer | x | x offset to translate the simulation contents by |
| integer | y | y offset to translate the simulation contents by |