hi,
I'm looking to calculate the vertical distance from a placed object to the water plane in the environment.
(the water that goes all under the map. sea level.)
any ideas.
Yep.. it is NOT fixed on all maps.. due to some servers using a "flood" plugin, so it might not be a static value i can hard code
Best way to calculate distance to water
Compare someEntity.transform.position.y to WaterSystem.OceanLevel.