inteja Posted February 25, 2017 Share Posted February 25, 2017 I want to interrupt/stop and completely remove all animations on a mesh that have been started with BABYLON.Animation.CreateAndStartAnimation(). I'm using scene.stopAnimation() but having some strange corner cases in testing that make me suspect some animations are still playing when I try to initiate new ones. Quote Link to comment Share on other sites More sharing options...
Temechon Posted February 25, 2017 Share Posted February 25, 2017 Try this : scene.stopAnimation(mesh); mesh.animations = []; inteja 1 Quote Link to comment Share on other sites More sharing options...
inteja Posted February 26, 2017 Author Share Posted February 26, 2017 Thanks @Temechon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.