how to proceed scnanimations in sequence

I have three animations of one model as .scn file (idle, run, jump) I load the animations to SCNAnination. I can play the animations by using animationPlayer but they play at the same time. I do not know how to play them in sequence... Would you do me a favor?

Replies

Hello,


You should take a look at the Fox2 sample project that is attached to this WWDC video: https://developer.apple.com/videos/play/wwdc2017/604/


The sample demonstrates how to trigger animationPlayers to play when you want them to play, and how to blend between different animations!