Ola! I have a number of gameobjects with colliders inside. To make them interact with each other I should type a GROUP and MASK properties for them. And if I create another one gameobject with collider it seems like I should add its group to mask all gameobjects with needed group.
Is there a workaround to make this operation batch? Something like “if collider has group ‘enemy’ it should interact with all colliders with group ‘ground’”
Nope, no built in operation for this, but remember that all files created by Defold are human readable text files that should be easy to parse if you want to make a script that does the job for you. Also remember that there’s a limit to the number of groups (16 I think). This is a limit imposed by Box2D.
2 Likes
Ok. Thanks. I’ll share script if it’ll be ever written
1 Like