Is it possible to set visibility of a single instance of an instanced static mesh component?
So I currently have an angled "top down" game where occasionally, I might have an object or two in between the camera and the player. Seeing as how this might be problematic sometimes, I did something similar to this to set individual components visibility when they block the view. However, for performance reasons, I'm using "instanced static meshes" and when a single component's visibility is set, all instanced mesh's visibilty are also set.
Is there a way to set the visibility of a single instance of an instanced static mesh component?
asked Jan 22 '16 at 01:59 AM in Using UE4
This is an old one, but just set the scale of that instance to zero. easiest way to make it not render without needing to change materials and what not.
answered Mar 17 '16 at 07:07 PM
Instanced Static Meshes are basically one single big mesh so unfortunately no. What I personally did was create a material that turns transparent (Masked material + DitherTemporalAA) when it "intersects" the camera vector.
answered Jan 22 '16 at 02:13 AM
Not sure if this is still an issue. But this is now possible. Take a look at my blueprint below to check it out. You can also set a different mesh all together in a place in the mesh. I set LoctionX to 0 to start with and PannelSize I have set at 245 but that can be configured to match a mesh of your choosing.
answered Mar 11 '16 at 02:22 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here