就是机器人换枪,换上臂骨骼,腿部动画不变的例子.
看代码应该是在手的bone里获得手的动画
armature->getBone(“armInside”)->getChildArmature()->getAnimation()->playWithIndex(weaponIndex);
armature->getBone(“armOutside”)->getChildArmature()->getAnimation()->playWithIndex(weaponIndex);
怎么给骨骼单独做动画,用动画编辑器
例子里的文件是cyborg.xml cocostudio到处的是 .ExportJson 格式的文件啊.