I'm having some issues rotating a bone while any other animations are playing. No rotation occurs until I stop/disable all of the animations that involve the same skeleton.
For example this code will rotate the torso, but only if the animations aren't playing.
scene.registerBeforeRender(() => {
skeleton.bones[1].rotate(BABYLON.Axis.Y, 0.01, BABYLON.Space.LOCAL)
})
...
var idleAnim = scene.beginAnimation(skeleton, 0, 89, false); // set to true to stop rotation
https://www.babylonjs-playground.com/#IQN716#38
It may seem like it is because the animation has a conflicting position for the bone but I'm pretty sure that isn't why. I've made a separate model that only has animated legs, and I can't turn its head bone while the legs are moving.
It does appear to be possible though: https://www.babylonjs-playground.com/#11BH6Z#92 This pg dates back to before babylon had bone.rotate() and it does everything manually via linear alg.
Any idea what I'm doing wrong?