Hello guys.
I am working on the 3D configurator where I need the following feature.
You can see here a screenshot where I assembled a bridge to the tower. Now, there are many options and dynamic systems in the app. You can assemble the playground in many ways, and there can be many connections.
I need to somehow remove/hide/clip the pathings between these components. Meaning that in the example on screenshot I would need to remove the portion in the red square (fence, tower columns). So basically, you can attach 4 objects around this tower, One object per tower side. In that case all 4 sides of fence would be hidden. There are cases where only a portion of the fence should be hidden (like 2 or 3 planks)
Now, I could go inside 3D software and somehow arrange my objects to enable control of hiding these meshes within the code. BUT, there are hundreds of possible objects, different arrangements and many ways to connect things. It seems like a huge pain to deal with that both within the 3D software and inside the code.
I am thinking about clipPlanes on material level, but that means that I could end up having many clipping planes in the scene (not sure if we have a limit on this). A lot of objects might share a material, but shouldn’t be clipped at the same time.
Basically the idea is that any connectable object might carry some type of clipping plane that will disable visibility of portions of the object on which they are being attached.
Are there some suggestions on what to do. Any better approaches than clipping planes? CSG?
Appreciated
Thank you.
PS: Really excited about v7.0. Amazing devs and community <3