How can we set the color for the mesh of a 3d model?

Hi. I am starting to work with 3d and I have a question how can I set the color for the mesh of a 3d model? For example, to change the hair color of the character?

Here is my little code for hair:

local skin_url = "/player/skin#character"
model.set_mesh_enabled(skin_url, "Hair_1", true)

I tried using go.set along with tint but it doesn’t work for me

go.set("/player/skin#character#Hair_1", "tint", vmath.vector4(1,0,0,1))
1 Like