something like this...
public function link(object:Object3D = null):Object3D
{
var mesh:Mesh = (object as Mesh) || new Mesh();
mesh.transform.matrix3D = transform.matrix3D;
mesh.type = type;
mesh.material = material;
mesh.sortType = sortType;
mesh.bothsides = bothsides;
mesh._vertices = vertices;
mesh._uvtData = _uvtData;
mesh._faceMaterials = _faceMaterials;
mesh._indices = _indices;
mesh._faceLengths = _faceLengths;
return mesh;
}
it's just an idea, it's not seem to work for sure :)
hth
2009/11/24 jonmaim <[email protected]>
> Hi guys,
>
> in your opinion what would be the best way in Away3DLite to share the
> same geometry across many Object3D objects without using clones?
>
> Jonathan
>
--
katopz
http://www.sleepydesign.com