fixing custom map water glitches
Troubleshooting custom map-wide water creation in MTA when water tiles flicker, disappear at certain angles, and lack collision.
- Custom water covering the map can be created using a 4-point table passed to createWater across map coordinates -2998 to 2998
- Water elements must have their dimension explicitly synchronized with the local player using setElementDimension
- Lowering default water via setWaterLevel(-10000) prevents visual Z-fighting with custom water at Z = 0
- A custom water surface can disappear when turning the camera and fail to trigger swimming physics if testLineAgainstWater returns false
- testLineAgainstWater can be tested in the console across Z heights to verify whether the client detects water geometry


