FloatBuffer positions = (FloatBuffer)(myMesh.getBuffer(VertexBuffer.Type.Position).getData());
positions.rewind();
while(positions.hasRemaining())
{
float x1 = positions.get();
float y1 = positions.get();
float z1 = positions.get();
float x2 = positions.get();
float y2 = positions.get();
float z2 = positions.get();
}
I think…
edit: or check out the last post here: Get vertices and indices from meshes - #2 by shirkit