Box collider of a parent prevent the onClick Event of children
Hi, I'm new regarding colliders and objects interactions.
I have scene with inside, a spherical cloud of words (pic 1),
All those words are children of another GameObject with a mesh filter and a box collider (pic2),
I have made a script using iDrangHandler to make the parent game object rotate the sphere which work just fine.
The thing is, the collider of the parent block to trigger of the children even thought they are not overlapping. For instance on the second pic i cannot click on the word "enfant".
From what i'm understanding the box collider is behaving like a 2D collider and so doesn't take into account the fact that some words are above the cube.
I also put a contentSizeFilter script on each text for them to have a hitBox relative to their own sizes.
My question is, is there a way to prevent the box collider of the parent from triggering when i'm clicking on a visible child.
Thanks a lot!