I've done it checking the relative position of the player to the water terrain, in order to check if the player is down and into its limits and then set a entity pointer of the water.


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB