Duplicating mesh in X and Y direction a set amount of times

Hello,

so I’m trying to create a floor generator. I have a single-faced mesh in my blueprint, now I want to duplicate that mesh in the x and y direction with two editable int-variables.
How can I do this?



x_rep is the x-repetition of the tile and y_rep the y-repetition. I chose to use multiple meshes, because I want to be able to assign multiple materials to the floor. I think there might be a better way, using mesh faces and creating meshes in unreal, but for now that is too advanced for me, as I’m new to UE.

Any help is highly appreciated!

Enjoy :slight_smile:

Is working perfectly for me, thanks for sharing! :slight_smile: