how to pause all animations after the import scene?
BABYLON.SceneLoader.ImportMesh
how to pause all animations after the import scene?
BABYLON.SceneLoader.ImportMesh
Hello and welcome!
As you can see in the ImportMesh and SceneLoaderSuccessCallback, you can get the animationGroups of the mesh, and just call stop() function.
playground link here.
Or you can simply call scene.stopAllAnimations();
.
This works!