How do you make a sinking ship that breaks into multiple pieces?

I’m hoping that the character will be able to roam the decks, but it’s not imperative