Download

Switch mesh in BP without running or simulating

I am trying to create a Spotlight Blueprint that lets me switch between static meshes and change color, exposure and other features while building my level.

So I was hoping to be able to add editable variables that could for example swap between different static mesh components.

But now I can’t seem to figure out how to do that without starting a PIE game or doing ‘Simulate’.
I was hoping to be able to do this as a way to speed up setting up and keep tweaking my level without having to actually sim it.

Is this possible and if so, how?

EDIT: Oh ok I just lifted some of my tick code and placed it in my construction script and that seems to work nicely!
EDIT2: Although that didn’t seem to work for my shader parameters. They update in the editor ok but then when I play the shaders have not got the right values. But I just added that bit to Tick with a ‘DoOnce’ which seems ok.

Cheers
Fred