【已解决】请问如何控制动画编辑器生成的动画组件进行

如题 。
比如sceneEditor的例子里面
CCArmature *pBlowFish = getFish(5, “blowFish”);
pBlowFish->getAnimation()->playByIndex(0);

要控制它移动的话 怎么控制?是操作精灵对象还是其他节点对象?怎么获得该对象?

CCArmature也是一个node啊。

是的

Aramture也是一个CCNode

类似TestCpp里这样的这种么?
CCActionInterval *actionToRight = CCMoveTo::create(2, ccp(VisibleRect::right().x - 50, VisibleRect::right().y));
armature->stopAllActions();
armature->runAction(CCSequence::create(actionToRight, CCCallFunc::create(this, callfunc_selector(TestAnimationEvent::callback1)), NULL));
armature->getAnimation()->play(“Walk”);

CCArmature也是一个node啊。

是的

Aramture也是一个CCNode

类似TestCpp里这样的这种么?
CCActionInterval *actionToRight = CCMoveTo::create(2, ccp(VisibleRect::right().x - 50, VisibleRect::right().y));
armature->stopAllActions();
armature->runAction(CCSequence::create(actionToRight, CCCallFunc::create(this, callfunc_selector(TestAnimationEvent::callback1)), NULL));
armature->getAnimation()->play(“Walk”);