Finding EditableMesh ColorID from VertexID

Slightly Complicated

@FGmm_r2

The title explains it all, previously before the editable mesh’s api update, you can simply imput the vertexid and it would change the color of that vertex, now theres a whole process with using colorIds instead, for the most part, this works, However, a key issue arose (and that is shown in the video) and thats that my current method of getting the colorID assosiated with the vertexId is wrong (At the moment this is how i get the colorId based on VertexId:

ColorId = EditableMesh:GetColors()[CurrentVertexId's Index in its :GetVerticies array]

The video below shows where the problem arrises;

Basically, key things to note from the video; Vertex’s Align between the two meshes (Meaning that its not the fault of the source)

(Vertex Color is set based on height of source (source being a flipbook frame height map),

However colors dont allign, and for some reason the colors just go all wack along the right hand edge of each mesh…

Which tells me that the way i get colorId is wrong (tho its confusing how it seems right as the rest of the mesh’s verticies have the correct colouring applied)

Please LMK any questions,