The vertices table holds the vertex ids sorted in a matrix.
The vertices table holds the vertex ids sorted in a matrix.
Please post the code around that line so we can see how you’re doing it. It’s a bit tough from just an Output warning.
Oh, the output line was shown to specify that some deprecated code has officially started to return an error.
I know I need to use this method now, but I’m a little confused on what they mean by ColorId.
Edit: I am aware that colorids are generated this way, but how would I assign a colorid to a specific location? I’m a little new to the new API for editablemeshes so I’m a little slow with this currently.
There is no replacement for SetVertexColor
.
You now have to set a Color3
to a "ColorId"
with SetColor
, and then set the colors for each vertex making up a face with SetFaceColors
.
EditableMesh:SetColor(1, Color3.fromRGB(255, 0, 0))
EditableMesh:SetColor(2, Color3.fromRGB(255, 0, 0))
EditableMesh:SetColor(3, Color3.fromRGB(255, 0, 0))
EditableMesh:SetFaceColors(FaceId, {1, 2, 3}) -- Depends on how many the face has
Yes, it is the stupidest API change. Never expect Roblox to get anything right.
i don’t even know what to think. that is crazy. thank you very much for the response though!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.