Thanks for the tip. Currently i'm doing it like this:

//BASE

var v1:Vertex = new Vertex(x, y, z);
var v2:Vertex = new Vertex(x, y, z);
var v3:Vertex = new Vertex(x, y, z);
var v4:Vertex = new Vertex(x, y, z);
FaceHelper.addFace(mesh, v1, v2, v3, new UV(0, 0), new UV(50, 0), new UV(50, 
50), 0);
FaceHelper.addFace(mesh, v3, v4, v1, new UV(0, 0), new UV(50, 0), new UV(50, 
50), 0);

... and so on, for each face. NOTE: these aren't the true values.

I think that this method is a little big (in code size) - of course im 
creating a function for adding cube faces to a mesh hehe. Is really this the 
best solution?

Thanks :-)

Reply via email to