Does anyone have any advice as to why i can’t use the SetMaterial()
function on the Asteria Sign Frame prop? I see the Material input and can set it manually in UEFN but in Verse it’s not taking the material when SetMaterial() is called. If I do the same code on a plane or cube it works fine, but I was hoping to set the material on the prop itself so I could then set parameters of it via verse.
Sample code:
bb_update_device := class(creative_device):
@editable MySign : creative_prop = creative_prop{}
# Material instance with parameter to be adjusted via verse
MaterialInstance : Counter.AirVent_mat_Inst1_material = Counter.AirVent_mat_Inst1_material{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Sleep(1.0)
MySign.SetMaterial(MaterialInstance)