Collision within node


My game consists of several worms. each worm is a chain of cubes. i would like the cubes within each of these worms to collide with each other. but i don’t want different worms to collide with each other. I tried using collision groups, but if i have more than 24 worms it stops working(obviously). so i thought maybe i can put each worm in a different node and ask the engine not to collide objects from different nodes with each other.

Does anyone know how i can make this work? or a different way with which i can achieve what i am trying to do?



Use ghostnodes. Trigger code with the ghost nodes and ask each occurance if its parents are the same if so execute code.