16.03.2014, 08:27
If you mean check if the position is water or land, it could be difficult.
You could perhaps create a polygon (probably more that 1 polygon) around the land mass, and check if the player is in that polygon. If the player isn't in the polygon they are above/under/in water. This could be expensive and would take a lot of time to get the points for the polygon.
If you just wana know if they are above sea-level, use the method BroZeus said.
You could perhaps create a polygon (probably more that 1 polygon) around the land mass, and check if the player is in that polygon. If the player isn't in the polygon they are above/under/in water. This could be expensive and would take a lot of time to get the points for the polygon.
If you just wana know if they are above sea-level, use the method BroZeus said.