Hi everyone, I’m looking for a way to make water (of a sea or an ocean) adapt to boats, I’m trying to make a game where you have to build your boat block by block, each block has its own properties density mass etc, the problem is that if I create a boat and put it in the water you can see the water entering the hull of the boat, even if there is no leak, I know that there are methods for this such as depth masks, but then since I want my game to support a destruction system, leaks could be created in the hull, how can I understand if the block that broke could have created a leak in the hull?? And then even if I knew that there was a leak in the hull there would be the depth mask that would prevent the water from entering the hull, I’m using URP sorry for the English. (the water I’m using at the moment is a plane that is deformed by a shader), (for example Stormworks, a game, has this system)thanks in advance for any help!
Edit: Oops… wrong place, it can be deleted