FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.67k stars 395 forks source link

Hulls with a small hole between their borders (but have a connecting gap) will get the character wet and cause drowning. #14108

Open NilanthAnimosus opened 3 weeks ago

NilanthAnimosus commented 3 weeks ago

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14107

Originally posted by **NilanthAnimosus** June 10, 2024 ### Disclaimers - [X] I have searched the issue tracker to check if the issue has already been reported. - [ ] My issue happened while using mods. ### What happened? If hulls do not touch or overlap when having a gap between them, although the gap works correctly there are small issues with a character getting wet and losing air inside the small distance between the hull borders. ![image](https://github.com/FakeFishGames/Barotrauma/assets/29177976/1325b855-fdb5-46e7-aed2-e5d9825ae23d) Pressure issues (by teleporting outside when corssing the gap) were fixed by (Link to private repo) PR: https://github.com/FakeFishGames/Barotrauma-development/issues/5423 but these smaller issues still remain. Has become more visible due to the minimum hallway distance being removed from outposts. ### Reproduction steps 1. Create two hulls with a small hole between two hull borders (2-20 pixels) that is still within a Gap connecting them (IE. door or placed gap). 2. Find the character gets wet when running through the gap. 3. Stand in the distance between hulls and find the character suffocates but is not crushed or triggering items that get "wet". ### Bug prevalence Happens regularly ### Single player or multiplayer? Happens in both single player and multiplayer ### - _No response_ ### Version v1.5.4.0 (unstable) ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_