Replicating manually attached components?

hey just a question, I have added all the components I want into whats meant to be a modular corridor, I want to replicate this mesh by a number set by me in a straight line, I was able to do it using the addchildactorcomponent but I noticed that even with only six or so segments the whole game got very very laggy, so what I’m asking is is there a better way to do it? I though you should be able to take the components you’ve added and replicate them but I don’t see any functions that do it, thanks for looking.

Look into instancedstaticmeshcomponents. I had the same issue and it cleared my problem right up. Went from lag with 800 meshes to very little lag with 6000 instanced meshes.

thanks i’ll give it a go :slight_smile: