Stabilizer angle (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "{{Overlay attributes|<onlyinclude> {{Overlay attributes|type=row|overlay=Water |attribute=STABILIZER_ANGLE |unit={{angle}} |description=A partly flooded cell (especially at t..."
 
No edit summary
 
(5 intermediate revisions by 3 users 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
|range=0 to 90
}}</onlyinclude>}}
}}</onlyinclude>}}


A cell is partly flooded and stabilizing when:  
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.
* 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.
* In case water in the cell is flowing in the direction of the dry edge, the cell will not be partially flooded and it will not try to stabilize its water level with the neighboring cell where the water comes from.
* If water flows toward the dry edge, the cell is not considered partially flooded and won't stabilize against the neighboring source cell.


{{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.