I have an array with multiple mesh objects in an array called objMesh. within each attribute I have a children. And within each I have an array with more objects mesh. (These are countries and attribute the islands are children of the same country) .how I can do that by passing the mouse pointer over each figure I choose to mesh with their children ?.
Currently I have a code that allows you to mark the region to bypass the mouse pointer, but only a region of paints me my figure, I need to paint all partners. I put this line in the array with my subject that has all the mesh.
ray.intersectObjects intersects = var (objMesh);
In summary. I need you to move the mouse pointer over the parent mesh is selected as the mesh children who are in the children attribute.