Open Regalis11 opened 4 days ago
There should be some logic in Holdable.GetAttachPosition
to prevent this, but seems it's bugged or not working correctly in some situation?
EDIT: it seems the issue is that when the cursor is just outside the wall, the raycast that checks whether the item would go inside a wall won't hit it and the prevention logic doesn't kick in, allowing the item to go inside when it's position is clamped to the grid.
Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14614