shallowWaterSimulationPaintVelocityCircle
shallowWaterSimulationPaintVelocityCircle
Description
Adds velocity into the simulation in the shape of a circle
Definition
shallowWaterSimulationPaintVelocityCircle(entityId shallowWaterSimulation, float x, float y, float radius, float velocityX, float velocityY, float? paintHeight)
Arguments
| entityId | shallowWaterSimulation | id of the shallow water simulation |
|---|---|---|
| float | x | x position of the circle center (world coordinates) |
| float | y | y position of the circle center (world coordinates) |
| float | radius | radius of the circle (world size) |
| float | velocityX | value to be added to the x component of velocity |
| float | velocityY | value to be added to the y component of velocity |
| float? | paintHeight | [optional] height that the paint should happen at. will only be painted if waterHeight in that location >= paintHeight |