If I include a COLLADA model in my XML, say the rubber duckie sample:
<collada document="duck.dae" />
There doesn't seem to be a way of adding an arbitrary number of ducks to the scene graph.
I've tried creating a new GLGE.Object and setting its mesh and materials, but calling doc.getElement on the document's onLoad handler results in a GLGE.Collada object that is uninitialized -- it's missing the xml property and its children array is empty.
If I include a COLLADA model in my XML, say the rubber duckie sample:
There doesn't seem to be a way of adding an arbitrary number of ducks to the scene graph.
I've tried creating a new
GLGE.Objectand setting its mesh and materials, but callingdoc.getElementon the document'sonLoadhandler results in aGLGE.Colladaobject that is uninitialized -- it's missing thexmlproperty and itschildrenarray is empty.