Stabilizer angle (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Maxim@tygron.com (talk | contribs)
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
|unit={{angle}}
|unit={{angle}}
|description=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.
|description=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.
|icon=Waterwizard_icon_stabilizier_angle.png
|icon=Waterwizard_icon_stabilizer_angle.png
|defaultvalue=10
|defaultvalue=10
|range=0 to 90
|range=0 to 90
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

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.