Get animation CCArmature is playing?


#1

Hello, Is there a way to get animation CCArmature is playing? I found out you can use “armature->getAnimation()->getAnimationData()->name” but i dont know how to use it and if its correct. But i want to be possible to get the name of animation my armature is playing can someone mayby help me?

Thanks.


#2

This api is kind of hard to use right now.
Current Animation:
getAnimation()->getCurrentMovementID()
IsPlaying
getAnimation()->getIsPlaying


#3

Nite Luo wrote:

This api is kind of hard to use right now.
Current Animation:
getAnimation()->getCurrentMovementID()
IsPlaying
getAnimation()->getIsPlaying

Wow thank you very much!