I'm still very new to Godot and trying to figure out the best workflows for me. I am wondering about Collision Layers and Masks. I'm moving over from Unity which also has a system of Tags and Layers however these are not widely used. I used Layers sparsely to separate raycast hits sometimes. Instead, I did almost all my collision checks in code and I got the feeling this is the case for most people using Unity.
So, coming into Godot I see the Collision Layer and Mask system being used in several tutorials saying this is the way to do collision sorting in Godot. Would you say that this is the case? Should I "work with the engine" and adopt this system? Just starting I get the sense that this system might work well for very small projects but might get bloated or impossible to use when a project increase in complexity.
In Unity I would set up a system where when two objects collide I check if one of them, for example, is of type Player or hold the interface Destroyable etc. What is the best way of doing similar checks in GDScript?