I want to make simple mesh deformer.
What I’m doing is iterating vertex array of a mesh on which my script is added and modifying vertexes coordinate depending on specific condition. But, for performance issue, I want to know the order of vertex, which is how vertex is stored in vertices in what order.
My guess is that there is no order. Because, as I know, each vertex has index which is totally dependent on model maker. It means, if model maker just put vertexes on any order, vertices order is also almost random. Is my guess true?
If it is true… I think it’s not possible to optimize my deformer algorithm.
Simply, I want to access vertexes in order of increasing y or decreasing y. (local y)