Hello.
I have seen some topics already concerning this matter, but none of those seem to work for me.
I have a blueprint with an aircraft (BP_Aircraft), consisting of several static meshes. I also have a widget with some buttons. By the click of a certain button (TestButton) on this widget, I want to change the material of one of those static meshes (Cabin Main) in the blueprint BP_Aircraft to a fixed material that I have (Glass) and change it back to its ‘original’ material (Metal) when clicking the same button. What I have now is this for only changing it to Glass:
With some topic discussions, this should work (since I have set the material and the actor class). Some other topics state that I need to create a dynamic material instance and then attach a material variable to that, but for me that would be strange I think since I’ve fixed the material to Glass. In any case: nothing works for me and I don’t get errors, so what I have is not wrong but it does miss something. I just have no idea what I’m missing.
I hope anyone can help.