Play multiple animations on a character simultaneously using SceneKit

How can I play multiple animations simultaneously on a character. Like walk and wave at the same time.


Is there anything like avatar mask in unity to disable selected bone animation?

Like disable right hand animation from walk animation and

keep right hand animation from wave animation. Mix them to paly walk and wave animation.

Replies

Yes this is possible. CAAnimationGroup holds an array with each bone's animation. You could create 2 new CAAnimationGroup objects, where one only holds the leg bones animations and the other one only holds the hand bones animations.

If you want to play two animations at the same time it is important that both animations are manipulations different bones. Otherwise one animation will get overwritten.