Door colliders should change to props layer when opened
JonnyOThan opened this issue ยท 0 comments
Currently the door colliders are disabled when they are opened. But they should just be changed to layer 20 so that they still block clicking on things behind them, and possibly later can be grabbed as physical props.
It's a little tricky though, because currently SetDoorCollidersEnabled affects all colliders in children that are on layer 16. If we simply changed them to layer 20 then they could become hard to differentiate from handles (which should definitely NOT swap back to layer 16 when the door is closed) and this might also adversely affect anything else that is listening for mouse clicks.