Hi,
I am learning to incorporate collision detection of multiple groups after importing a tilemap (Tiled) in cocos creator.
This is how my Node Tree looks like
and here is the scenic presentation highlighting the newly added sprite nodes (chests).
Now, when I am trying to assign a new collision groups (like “chests”, or “items”) to these sprites, they get disappear in runtime.
As one can see from the bounding box, that the sprite nodes are present at their respective location but not visible. Most probably, something is overlapping them. And when I change the nodes collision group name back to ‘default’, they appear as expected.
And here is my Group Manager view:
I am trying to create as many new sprite nodes after importing tilemap and assign different collision groups.