So I am trying to animate rotation and position at the same time, but the animation blending only goes half way. I have two animations the are 30fps and both animations have only two frames, one at frame 0 and one at frame 30. I try to use beginDirectAnimation but they only play halfway and then stop, never reaching the final values.
Here is a playground that demonstrates this. https://www.babylonjs-playground.com/#24SBV7#19
The box should move to z=5 but only reaches ~2.8 or so. I discovered that by making the animations 15 fps they complete normally, or by making the last frame 60 and the from value 60 then it works, but I don’t understand why.
Can someone please explain this to me? Thanks.