Hello,
I am using the beginAnimation statement to start an animation.
I would like to use a start frame and an end frame to play some of the animation but it doesn’t work.
https://playground.babylonjs.com/#Z919WV#3
What’s wrong.
Thanks for your help
Like this?
https://playground.babylonjs.com/#Z919WV#4
The begin animation method doesn’t take a start frame and end frame, it just takes a predefined “range.” In this case caleAction.
Is that what you’re after?
You can use the beginAnimation function of the Scene class as well if you want to manually specify a range
https://playground.babylonjs.com/#Z919WV#5
Thank you, that’s exactly what I wanted
1 Like