I have a number of GameObjects with 2 child GameObjects:
There is a a BoxCollider2D on both the Sprite child and the Words child. The parent has a Composite Collider 2D on it, which uses those BoxColliders. It automatically calculates perfect polygon colliders, and is working great.
My GameObjects can sometimes nest. You can see an example in the attached pictures, where a Snake GameObject has a Zebra GameObject nesting under it.
The Composite Collider 2d for the Snake is not picking up on the Box colliders for the grandchildren nodes (Zebra/Sprite and Zebra/Words). I am guessing that's because a Composite Collider will only combine colliders from Box Collider 2D or Polygon Collider 2D, and not from another Composite Collider.
Is it possible to have a Composite Collider (or some other collider aggregator) pick up the colliders for not only child nodes but also grandchildren nodes? And great grandchildren, etc. My whole data model currently uses nesting of GameObjects, so it'd be great to be able to continue with that while also taking advantage of a Composite Collider. Thanks!