How do you change static mesh material colour via BP?
I’ve got a static mesh thats grey but I’m trying to get it to change to orange when the player goes through a trigger but hows this done?
Would appreciate some help.
Cheers!
How do you change static mesh material colour via BP?
I’ve got a static mesh thats grey but I’m trying to get it to change to orange when the player goes through a trigger but hows this done?
Would appreciate some help.
Cheers!
Create a Material with a color parameter.
Create a BP containing the mesh.
In the BP construction script, create a dynamic material instance and assign it to the mesh
Store a reference of the BP where applicable and change the material parameter via BP when needed.
Is there an example I could follow anywhere?
Try the copntent examples from the learning tab.
There are examples
This tutorial series is a good start, from the UE4 YouTube page