Let's say I have a PhysicsRayQueryParameters3D and it returned a collider.
I want to check if the colliding object is interactable or not.
If I were to write it in Java, it would be done just by introducing Interactable interface and checking the collider is of that interface or not.
However, gdscript does not have interface and forbids multiple inheritance.
So... what should I do?
My current implementation checks if collider has expected methods or not.