WCK - Setting GuideShapes to not collide?

I have a ControlShip object and a Platform object that each extend BodyShape. In the IDE I have set them both to have a Component Definition based on their class, which gives me the BodyShape parameters and my own custom ones in the Component Inspector. Each one is a GuideShape since there are other movie clips inside, including sensors for the Platform.

I want these objects to not collide with each other. So far, I've tried setting (a) their groupIndex to -1 and (b) categoryBits to 0x2 and maskBits to ~0x2. But neither of these solutions works. I have a feeling it's because they have isGuideShape on. Is that true?

What am I doing wrong and how do I make these objects not collide?
If you set isGuideShape = true, then the component properties on that object are ignored. Instead, it used the component properties of the parent BodyShape.

It's not clear in your post if you're setting groupIndex = -1 on the parent BodyShape (the one acting as a Body) or the child BodyShape (the one acting as a Shape within the body). If you're setting isGuideShape and groupIndex on the child one, then that is being ignored.
Wow, thanks for the reply, that really clears things up! The docs are really confusing then, heh. I was confused by your description at first, but then I thought I understood what you were saying with regards to your box-with-arms.

I was under the assumption that the box could be a Box and then box-with-arms would be a BodyShape. Then you set the box-with-arms to isGuideShape, which ignored the settings for its children - including box - and only took the settings "for itself." The weird thing is that I tested this behavior to make sure and it seemed it match up with what I thought. Maybe it was a placebo effect?

I'll try doing the opposite then. 😛
God at play wrote:
I was under the assumption that the box could be a Box and then box-with-arms would be a BodyShape.


Correct.

God at play wrote:
set the box-with-arms to isGuideShape, which ignored the settings for its children


Nope, the other way around. the children (box in this case) should have isGuideShape = true. The logic behind this is if you drop two box-with-arms (or whatever) on the stage, but you want them to both have different restitution, you can't, because the box is within the parent symbol and can't have different properties. If you set isGuideShape on the box though, you can set restitution via the parent, and now they can have different properties.

Setting isGuideShape on the parent has no effect.

Original thread: https://box2d.org/forum/viewtopic.php?t=5643