ozRocker Posted April 22, 2018 Share Posted April 22, 2018 Is there a way to manually go to another animation frame? I've checked out beginAnimation() and it only plays a whole range. I want to make my own timer and control which frame to go to within that timer. Quote Link to comment Share on other sites More sharing options...
JohnK Posted April 22, 2018 Share Posted April 22, 2018 Is something possible with beginDirectAnimation? Also http://doc.babylonjs.com/api/classes/babylon.scene#begindirectanimation Quote Link to comment Share on other sites More sharing options...
Dad72 Posted April 22, 2018 Share Posted April 22, 2018 Use : skeleton.createAnimationRange(name, start, to); to define an animation name of the frame start > to And : skeleton.beginAnimation("nameAnimation", true, 1.0, function() {}); This will only play the animation you want and not the entire gamut. Quote Link to comment Share on other sites More sharing options...
ozRocker Posted April 23, 2018 Author Share Posted April 23, 2018 ok cool, I decided to use animation events which I just add to every frame via a loop. 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.