I couldn’t find an answer to this anywhere.
What I want to do is to create a dynamic material, which changes properties when hit with line trace (bullet). A good example would be glass - since we cannot spawn decals on in, so it would be nice to change the material properties to make it crack. I was able to do it per blueprint, but this seems not really flexible.
Is there a way to have a material that would change its properties on hit, regardless which mesh it is applied to?