title: unity3d trouble with ship floating on water
body: <p>In unity, i have a ship <a href="https://i.stack.imgur.com/hxz4A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hxz4A.png" alt="this is my ship"></a>
  <br>
  And i have also water: <a href="https://i.stack.imgur.com/CGB2I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CGB2I.png" alt="this is my water"></a>
  <br><br>
  I want to make ship float on water, but(of course) what I get is this:<a href="https://i.stack.imgur.com/8UQts.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8UQts.png" alt="ship and water"></a><br>
  Is there any good way to keep water out of the ship? <br>Just want to make that water inside ship not displayable.<br>Maybe there is already answer for my question over the internet, but I had no idea on what do I exactly type in google... and I had also no idea for title of this question, so please don't blame me for unclear title.<br><br></p>
  
  <p>Not it looks like this:<br>
  <a href="https://i.stack.imgur.com/MKqoH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MKqoH.png" alt="enter image description here"></a>
  <br>
  I want it to look like this:<br>
  <a href="https://i.stack.imgur.com/P7T8C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P7T8C.png" alt="enter image description here"></a>
  <br></p>
  
  <p>I don't use any physics here, the <code>y</code> coordinate of ship is constant.</p>
  
  <p><br><br></p>
  
  <p>To Doh09:
  Your code seems to work, what i got is:<a href="https://i.stack.imgur.com/eVzOK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eVzOK.png" alt="enter image description here"></a>
  <br><br>
  But when I run game, what I got instead is:<a href="https://i.stack.imgur.com/3QXA7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3QXA7.png" alt="black cube inside ship"></a></p>