When I import a collada file into my scene, I am trying to figure out how to list all the node names. Can anyone help me with this?
Here is what I have tried so far, but it only gives me one name:
var dae;
loader.options.convertUpAxis = true;
loader.load( './models/collada/test.dae', function ( collada ) {
var dae = collada.scene;
dae.traverse( function ( child ){
objects.push(child);
} );
daenode = dae.children[0].name;
console.log(daenode);