I'm new to Godot and I've seen in many tutorials the Collision Layer Mask system is the way to go for setting up your collision structure. It seems like an (sort of) intuitive system for beginners, but that it would quickly become hard to manage as soon as a project gets more complex. So my question is is this system meant to be the system to use if you don't want to work against the engine, or do you use more flexible systems for your projects?
I've been using Unity quite a lot and I almost always set up my collision logic in code, checking colliding bodies and if any of them are, for example, type of Player or hold the interface Destructible, etc, I trigger certain events. Are there efficient ways of doing similar things in GDScript?
Thanks!