How to target animation from task.loadedAnimationGroups

Hi,

I m loading the models via AssetsManager. And I get multiple animation groups under loadedAnimationGroups. And the first animation group applied to the model by default. Is there a way to select a specific animation and apply (change a target). Something like selecting variant from mesh - GLTF2.KHR_materials_variants.SelectVariant(rootMesh, 'key');

Thanks

@PirateJC Thank you so much for your YouTube video - Demystifying Animation Groups ( (242) Demystifying Animation Groups - YouTube). Eventhough it is a little bit complicated but it answers all of my questions and handle my task. :slight_smile:

2 Likes

Awesome! So glad it was helpful!

1 Like