Compound collision bounds question

Hi all,

I have been experimenting with the compound option with multiple collision hulls and run into a problem. I have a test object that is made from 3 chunks parented to a main object in the middle.

If the parent object does not have compound checked, Python commands like hitObject and rayCast register the childrens surfaces, but oddly the objects themselves act like ghost objects during collisions with other hulls.

With compound checked, the parent hull extends around all the child objects (like it should) but hits no longer register on individual sections except for the main parents hull.

Ideally I want a way to have compound enabled (so parts collide properly) and have hits register on each child (so I can make them explode, fall off etc when shot).

Is there a way to do this?



I think that’s the way it should be. I would recommend using the rayCast function, but perhaps with simple parenting (parent the children, Ghost-enabled, to the parent). This way, you should be able to move the children with the parent, but still be able to hit them.

Thanks, SolarLune!