Why is my animation not working? I used Animation, but it's not working

https://www.babylonjs-playground.com/#BCU1XR#3455

I am not sure what you are trying to achieve with the animation I am seeing most of them working ?


‘positon.y’ is not work

Here is why:

I think when the box is opened, the model inside is displayed and there is an excessive effect. After I modified it, it still doesn’t work(https://www.babylonjs-playground.com/#BCU1XR#3459)

This is because you are creating animation_Group before loading your scene then scene.animationGroups[0] is not the one you want:)

Fix: prova | Babylon.js Playground (babylonjs-playground.com)

3 Likes

nice,6666,thank you