In my scene I have an object graph, where I add child objects to parents. However, when I set parent.visible = false
three.js behaves correctly and shows no element in the hierarchy.
But for my project I want a different behavior. I want that child objects show up, when their visibility is true
, even when parent objects are hidden.
What would be the best way to achieve this? I thought of assigning a transparent material to parent objects, but I heard that this can cause problems when rendering the scene and should be omitted.
See Question&Answers more detail:os