Hersir Posted April 5, 2017 Share Posted April 5, 2017 Hi is it possible to get animation end callback for looped animations, I need to know how many loops have been done. Thanks Quote Link to comment Share on other sites More sharing options...
Raggar Posted April 5, 2017 Share Posted April 5, 2017 Can't you just make a function like: var loops = 0; var runAnimation = function(){ if(loops <= 5){ scene.beginAnimation(mesh.skeleton, 0, 30, false, 1.0, runAnimation); loops++; } } Or are you looking for something else? GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Hersir Posted April 5, 2017 Author Share Posted April 5, 2017 Yes i can just thought that there is some build in stuff 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.