I have a level in which there is a chair. I want to change the chair for a different model by clicking on it and displaying a widget when the player can select the model.
For this I made a Blueprint class, and I change it through SetStaticMesh. It works fine, but the problem is that it only works if the Mesh is set to Movable. If I set it to Static it doesn’t works. I need it to be Static, because I use only Static lights.
I use this Nodes in the widget Blueprint to change the model:
Nudo, I’m not a lighting expert, but if you only use static lights and place or switch an object in game, the new object won’t have the baked lighting on it.
Indeed, static lighting prohibits changing/moving static actors during runtime.
However, if you set that up in the construction script, to make a configurable asset, it works.
You still need to rebuild your lighting after each change…
The lights themselves do not need to be dynamic (movable). They can remain static.