Hey guys, I think I solved the problem. I used the buoyancy cube, copied it, and replaced it with my ship. Thanks anyway. Here is the result: