SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

The gap between the door and the wall on the floor below the door #4329

Closed kelllmonakil closed 4 months ago

kelllmonakil commented 5 months ago

2image 1image 5image 4image 3image The gap is not bullet penetration, but does not leave any traces of hits

SDGNelson commented 5 months ago

Thanks for the report. I'll double-check the collider size on the door.

SDGNelson commented 4 months ago

Ah, what I didn't realize earlier is there is no floor there, just a door on top of a wall. What's the reason for doing this?

MoltonMontro commented 4 months ago

Ah, what I didn't realize earlier is there is no floor there, just a door on top of a wall. What's the reason for doing this?

My assumption is that it's just an example scenario for the bug report, but some possibilities could be:

SDGNelson commented 4 months ago

I adjusted the collider size on the vanilla doors before realizing this was actually intentional: All of the openable vanilla buildables have a bigger collider that completely fills the door slot when closed so that they are airtight. If I recall correctly, this was to help ensure doors of different sizes are plugged and players can't shoot through tiny gaps in the trim. It is confusing though that there's no indication of a hit, so for the next update I've applied physics materials matching the door material so it appears the bullet hit the wood.