Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
717 stars 81 forks source link

Interact with object through walls #110

Closed ksjfhor closed 4 months ago

ksjfhor commented 4 months ago

Hi, in the current master, on a certain angle, it is possible to interact with objects through a wall:

lightenabler This is the red light button toiletenabler and this is the toilet on the other side of the wall.

Phazorknight commented 4 months ago

@ksjfhor this is due to the walls not being set to collision layer 2, which would block the interaction ray cast. Will update in the next commit.