Any idea how I can set up the materials to the corresponding mesh array? f.e = "Array 0" has "Mesh A" assigned and now I want to get the Materials of "Mesh A". Tried it with Get Material, but I only Get the last Array Mesh.
Thank you
Obscura. :) Maybe I
should explain, what I actually wanted to achieve: Essentially
just a simple "Dynamic Prefab", which attaches arbitrary SMeshes to a
socket in the main/root SMesh -> f.e House with door; house with door + window; airplane with door + window.... Regarding
the Materials - it would be enough to…
Alright, having the material list to show up is complicated because dynamically added meshes won't show up in the actors hierarchy. What you could do is to make a struct, and populate it with the necessary parameters you want to change, and to include an array that is a type of material interface. Then you would need to…
Hi, Is there a way to "Add Static Mesh Components" dynamically? As you can see in the BP, I Have to add a complete new "Add Component" Block for every "New Mesh" + "New Material" I want to add. Is there a way to use the Array dynamically with a flexible amount of mesh components? Thx
Thx Obscura. The next big issue-> I want to a attach the meshes to a socket in a static mesh (first mesh) - how can I get the info of that from the array: Maybe I can a add a SM Component as a root mesh with the socket - so the root would be static and the further meshes would be dynamic?I'm also struggling with the…
I''ll rather make an example image later today. But based on what you are saying it sounds like you are doing what you are doing outside of the loop, right after it completed. This is why it returns only the last element. You should do it inside the loop. Then the array element output of the for each loop will always…
Thx a lot
for your explanation...will check your link. :) But I think
the time investment will not pay off in this case till I reach that scripting level. I only
tried it this way, because I always get " Static Mesh Actor has NULL
StaticMesh property" warnings with a "Set Static Mesh" Array, so
I tried it with "Add Static…