how can I change shape of a cube by change position of its vertices?
I want to move top face of cube down a little using the code but I can’t access it…
I expect to be able to access and modify the array that specifies the position of the vertices, in this way:
VertexBuffer bff = mesh.getBuffer(VertexBuffer.Type.Position);