can anybody explain how to traverse through the nodes of a “skeleton”?
i have this so far which seems to get the root-node’s name(skeletonRootNodeName), but cant seem to get the rest of the joints…
int skeletonCount = database->getElementCount(0, COLLADA_ELEMENT_SKELETON);
for (i=0; i<skeletonCount; i++)
{
daeElement* element = 0;
database->getElement(&element, i, 0, COLLADA_ELEMENT_SKELETON);
domInstance_controller::domSkeleton* skeletonElement =
daeSafeCast<domInstance_controller::domSkeleton>(element);
xsAnyURI uri = skeletonElement->getValue ();
daeString skeletonRootNodeName = uri.getID ();
}