I tried to unify the code for checking the nodes' group for collision.
I've changed the naming conventions a bit, trying to make them context dependent and more general.
Also, in the future can be add:
- Map cache to reduce recursion.
- Text output of collision (inputs: NodeGroup, MyNodeGroup, output: NodeGroup->NodeGroup.001->NodeGroup.002->MyNodeGroup).
