Playing multiple animations sequentially

How would I queue up multiple AnimationGroups to play one after another? My intended behavior is that when AnimationGroup A stops, AnimationGroupB starts, etc. My animations are coming from a glb file.

Thanks in advance!

Hey @masonzhang,

First of all, welcome to the community! Second, you might be able to accomplish this by adding an observer (callback) to each AnimationGroup’s onAnimationGroupEndObservable

// Example
animationGroupA.onAnimationGroupEndObservable.add(() => {
    animationGroupB.play();
});
1 Like