I populate a FloatArray with the new vertices and then when flushing the array, if I call1 mesh.setVertices(finalMesh.array());everything works fine, however there is a performance hit since my finalMesh float buffer can vary in size and I do not want to flush the whole array everytime.So I tried doing a 1 mesh.setVertices(finalMesh.array(), 0, finalMesh.position());Which works ok on my desktop.