【已解决】骨骼动画怎么停止一个动作

我想做一个停止骨骼动画 操作,不知道怎么弄?

直接 armature->getAnimation()->playByIndex(0);
armature->getAnimation()->stop();
这样,动画也是停止的。

— Begin quote from ____

%url%solo 发表于 2013-7-30 15:37
armature->getAnimation()->stop(); 这个应该可以吧

— End quote

不行呢,
pBugerRun->getAnimation()->playByIndex(0);这样播放的动画

在ccTouchesEnded里面去调用pBugerRun->getAnimation()->stop(); 停止不了

我把TestCpp里面一个例子的触发事件直接调用
armature->getAnimation()->stop();
动画能停下

armature->getAnimation()->stop(); 这个应该可以吧

直接 armature->getAnimation()->playByIndex(0);
armature->getAnimation()->stop();
这样,动画也是停止的。

我把TestCpp里面一个例子的触发事件直接调用
armature->getAnimation()->stop();
动画能停下

armature->getAnimation()->stop(); 这个应该可以吧