Submarine I'm trying to put into matrix

Hi I am trying to put a submain in matrix but it keeps glitching and wen I simulate physics it dos not stop haw do I stop it from jumping out of the game thanks