I have a problem that should be very simple, but I can't figure out what method I should be using.<br>I have 2 different fixed materials, both saved in res://"path". What I want to do is assign one of the 2 fixed materials to a mesh, does not matter which fixed material. <br>I have tried the methods in mesh class namely, surface_set_name(), surface_set_material(). I don't' understand what/where the surf_idx is coming from. I Also looked in the resource class, geometry instance, and fixed material class but can't seem to find a method that will do what I want.<br><br>const skin001 = preload("res://FixedMaterial/Work.tres")<br>const skin002 = preload("res://FixedMaterial/Casual.tres")<br><br>var skinswap = get_node("Emma/Armature/Skeleton/Body").get_mesh() # returns instance mesh<br><br><strike>skin001.surface_set_name(001, "Work") <br>skin002.surface_set_name(002, "Casual")<br></strike>they don't work because wrong method for class, my fault.<br>skinswap.set_material_override(skin001) # geometry instance method thought would work cause mesh instance inherits it.<br><br>I found the answer. Use get_node("path/to/node").set_material_override(material)<br>