Flat Water Data Provider
FlatWaterDataProvider can be used for all flat water systems.
It can even be used with wavy water systems if the waves have 0 amplitude to improve performance (sometimes drastically as the water heights are always queried with wavy water system, even if there are no waves).
Setup
- AttachFlatWaterDataProviderto theGameObjectrepresenting the water.
- WaterObjects will now float at the water- transform.yposition.