Download

Alternating Instaced Static Meshes for Procedural Building

Hi all, I would like to design a procedural building tool with alternating instanced static meshes. The goal here is to allow the user to make different pattern walls. I was thinking, this should work with collecting all of the instanced static mesh components into an array. I have created a Blutilities custom event that adds a new instanced static mesh component each time a user adds a new static mesh. However, each time I change the static mesh in the details panel, it trashes the instanced static mesh components array. So in other words, when I look at the array, each element in the array says “Trash_InstancedStaticMeshComponent”

Does anybody have some ideas on how I could accomplish this?