Hi,
I often make meshes with ExtrudePolygon().
Then I want to change some verticies-positions of the created mesh.
Is there simple way or a helper so I can visualize the “vertexNumber” when I use
var positions = myMesh.getVerticesData(BABYLON.VertexBuffer.PositionKind)
for(var vertexNumber = 0; vertexNumber<positions.length/3; vertexNumber++) {
positions[vertexNumber*3+2] -= 500;
}
It is difficult to know what verties I have to manipulate when I do not know the index in positions
For Example, I want to manipulate this Vertex:
Thx