Hi There I am hoping there is an answer to this. I have a collection of blocks exported from Blender via a .OBJ file. At line 25 there is code that makes all the blocks invisible (comment it out to see the blocks).
I would like to be able to click any of the invisible blocks and turn them visible…is this possible?
Yes, I did the same. When working with imported meshes, I found it easy to simply act on the material. I did this in my scene. The good part is that you can also easily animate the effect (without having to import an animation with your mesh) by simply having one scene object using the same material (and you can make the object/mesh not visible. I did all of my snow accumulation effects on imported meshes using this method and it works well (and is very easy to handle).
Hi labris, thanks for your reply.
I have to say first of all that I am new to programming and as a consequence I am trying to find simple solutions close to my understanding of how something may work.
Your solution works well… it’s a great solution…but I was still hoping to hide/show the mesh as I haven’t decided how the blocks are going to look, there may be more geometry involved.