Thank you for the patience in answering,
I actually tried what you had mentioned except for adding an IK, (dont want to do that as i dont want to add more tasks to the artist),
Let me give you more info on what is my use case, i play a arrow shoot animation, while it is being played, in the middle, i would want to change the rotation of the character, i have a bone which is the parent of the top body, which when i rotate rotates the top body,
If i do:
spBone* torsoBone = mSkeletonNode->findBone("torso2");
torsoBone->data->rotation += 10.0;
spBone* torsoBone = mSkeletonNode->findBone("torso2");
torsoBone->rotation += 10.0;
i would want the second approach cos then when i want to reset it, i can call setToSetupPose, when the animation is done.
May be my question should be why doesnt the second approach work? How would i get it to working?
(i tried updateWorldTransform calling before after etc and doesnt make any difference)
Edit:
By googling i found out that for the same in Unity you have to change in LastUpdate, only then it works, what about cocos2d-x, there is no LastUpdate