I play an animation on a skeleton, then after it ends I would like to set it back to the rest pose with returnToRest() , which used to work but not anymore.
You mixed skeleton and animationGroup functions. If you play an animation with animationgroup then you have use gotoFrame method, instead of returnToRest.
https://www.babylonjs-playground.com/#4HTBYP#10
Cheers!
1 Like