Doors don't work as solid objects when they are outside of hulls
I wanted to make something similar to garage doors for a shuttle, so small creatures like crawlers wouldn't get inside and get stuck between the sub and the shuttle.
But it appears that creatures and shuttles don't have collision with doors(and probably hatches too) when they are outside of hulls.

Digging this up from the icebox because we need it for https://github.com/Regalis11/Barotrauma-development/tree/feature/endgame-prototyping
Tested against WIP branch commit https://github.com/Regalis11/Barotrauma-development/commit/baf018697b7ccb429b18b29b5f63c2f7d0be0603
They appear to act as solid objects fine now (for both other submarines/shuttles/ruins etc), but the code for not closing on a submarine doesn't appear to function correctly. it still closed on a remora drone I was using with the door as part of an edited remora sticking out as a sort of box. something seems odd with the logic to determine if the rects overlap for large doors and submarines.
Fixed in https://github.com/Regalis11/Barotrauma-development/commit/8770d887fcd4a7987f3dd5e66198290d9bf116fb
Tested, no issues. Closing.