water_2d
A spring surface with buoyancy, swimming, flow, splashes and foam. Centred on the transform; polygon points in local units. Rotation and scale are not used. Runtime waves are not saved.
In scene text
water_2d { size (0, 1, 0) shape ["a", "b"] color (1, 0.8, 0.6) }Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.
Fields 18
| Field | Type | Unit / range | What it does |
|---|---|---|---|
size | (x, y, z) | — | Box width and depth. |
shape | list of text | — | Optional convex polygon points x,y. Use a flat top for an open surface. |
color | colour (r, g, b) | — | Surface tint. |
depth_color | colour (r, g, b) | — | Deep water tint. |
opacity | number | 0 … 1 | Water opacity. |
distortion | number | 0 … 12 | Refraction wobble in world units. |
foam | number | 0 … 12 | Bright surface line thickness. |
layer | number | -1000 … 1000 | Draw above submerged objects. |
columns | number | 8 … 256 | Surface spring count. |
tension | number | 1 … 400 | Spring restoring force. |
damping | number | 0 … 40 | Wave decay per second. |
spread | number | 0 … 600 | Neighbour spring coupling. |
idle | number | 0 … 20 | Idle wave height. |
density | number | 0.05 … 10 | Fluid density relative to body density. |
drag | number | 0 … 40 | Drag toward the flow velocity per second. |
flow | (x, y, z) | — | Current velocity in units per second. |
waterfall | true / false | — | Falling ribbons and mist preset; no buoyancy or foam surface. |
enabled | true / false | — | Enable physics and drawing. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us