Stabilizer angle (Water Overlay): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
{{article end | {{article end | ||
|notes= | |notes= | ||
|howtos= | |howtos= | ||
* [[How to add and remove an Attribute]] | * [[How to add and remove an Attribute]] | ||
|api= | |||
* [[Api session event editor overlay set attribute]] | |||
}} | }} | ||
{{WaterOverlay model attribute nav}} | {{WaterOverlay model attribute nav}} | ||
Latest revision as of 14:09, 15 July 2026
| Icon | Attribute | Unit | Range | Description | Default value |
|---|---|---|---|---|---|
| |
STABILIZER_ANGLE | angle (0-90°) | 0 to 90 | A partly flooded cell (especially at the edges of waterways) can become unstable when the angles in X and Y direction are too far apart. In this case the fluxes in U and V cannot easily be resolved mathematically while preserving balance. To prevent unrealistic fluxes from appearing, only the flux in the primary direction will be preserved. A stabilizer angle of zero means that all cells can be considered partly flooded cells, while an angle of 90 degrees will disable the stabilizer. | 10 |
A cell is partly flooded and stabilizing when:
- The predicted water height at one edge is zero and the water in that direction is flowing away from that edge. The predicted water height is the predicted water level minus the terrain height at that edge.
- If water flows toward the dry edge, the cell is not considered partially flooded and won't stabilize against the neighboring source cell.




