I create my geometry as:
groupGeometry=new TriangleArray(numTriangles*3,TriangleArray.COORDINATES | TriangleArray.NORMALS |
TriangleArray.TEXTURE_COORDINATE_2 | TriangleArray.BY_REFERENCE);
groupGeometry.setNormals(0,myCurrentNorms);
groupGeometry.setCoordinates(0,myCurrentCoords);
groupGeometry.setTextureCoordinates(0,0,myCurrentTexCor);
Then, later on each iteration of my rendering while(true) loop, I update myCurrent* by calling the updateData method of the geometry with my GeometryUpdater, which changes my coord positions. I have checked the arrays and they change correctly, but my program doesn’t show the geometry animating at all, it just looks like it did when it was first loaded.
Any ideas why?