Issues with mesh animations

Hi. I think this is because, by default, the animation is starting. You can avoid this using

BABYLON.SceneLoader.OnPluginActivatedObservable.addOnce(loader => {
    loader.animationStartMode = BABYLON.GLTFLoaderAnimationStartMode.NONE;

line 6,7


Hi @MarianG thanks by responding… but this only works using the SceneLoader… with the Assets Manager it does not work. With Assets Manager it is necessary to stop the animations manually before calling start.

Please see these playgrounds if possible: (not working) (working, but forcing stop())

EDIT: Finally fixed, I was making a mistake calling pause instead of stop initially

So calling stop initially, It is not necessary to call it again.

Best Regards

Hey, did you check my pg? :yum:
Line 6,7 as I said.
This should work because if I remember corect assetManager use internally same sceneloader for import (but don’t trust me :), I have to check)

edit: Babylon.js/assetsManager.ts at ba26cf655334bbe27cbd68c002544ea7f884e0d9 · BabylonJS/Babylon.js · GitHub

later edit too :slight_smile:
Your solution should be fine too. so is up to you :beers:


Ahh thank you very much @MarianG , so I think I made some mistake on my local code… I noticed too that I was using pause() instead of stop() on the initial loading, apparently this is a solution too.

Sorry for the mistake and thanks again