Data Asset to feed meshes into Blueprint?

Heya!
I am building a blueprint to spawn a procedural building. The building is split into several meshes - a Foundation, Middle Floors, Roofs, etc. Those are fed specific random meshes from arrays, giving me randomized buildings.

Right now I just have Arrays of meshes inside the blueprint, but I want a more modular system, with all the meshes saved in a Data Asset outside the blueprint, so I can easily swap to a different set of meshes. I think I have a reasonably good setup for that, but I’ve run into a wall: I can’t figure out how to access the meshes from the data table inside the blueprint.

The second image shows where I’m stuck. “Mesh Bottoms” is the old array for Building Foundations. “Mesh Set” is the new Data Asset as shown in the first image. I want to access the new array of Building Foundations from the Data Asset, but how? Suggestions and better solutions are very welcome, I am quite new to all this and making it up as I go.


:thinking:

Hi, you access variables from Data Asset normally by it’s name. So if your “MeshSet” is for sure a correct type and Data Asset variables have any Uproperty that allows them to be read in Bleuprints, just drag Foundations as PREDALIEN showed :slight_smile:

Turned out I was indeed using the wrong Variable type. The solution from Predalien was what I’d hoped for, and it worked once I picked the right variable. :smiley:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.