If it's a mesh (sub-class of class Mesh) that has been loaded, you can
access it's faces and vertices via the faces and vertices properties,
respectively:

// First face and vertex:
var face : Face = myModel.faces[0];
var vert : Vertex =  myModel.vertices[0];

// Move vertex
vert.x += 10;
vert.y += 10;

Note that myModel has to be a sub-class of Mesh, which is only one of
the objects that can be found in a Collada file (next to bones, lights
et c.) I think that the Collada parsers return a container, and you
will need to navigate it using the children[0] array (or use
getChildByName() if a name has been set) to find the Object3D that is
your mesh.


Good luck!
/R


On Jul 24, 11:56 pm, Lucas Guilherme <[email protected]> wrote:
> Hello,
>
> I`m loading a .dae file and I want to know if it is possible to edit the
> mesh, vertices of my model in real time.
>
> BR,
> Lucas

Reply via email to