I’m working on a project using animations, and keep getting an error that scene.beginAnimation is undefined. Due to the complexity of the project, a simple playground demo is not possible.
git clone https://github.com/dr-vortex/blankstorm
- Serve the project root (using an extension like Five Server or Live Server with VS Code)
- Open the URL in a browser
- Follow GUIs: Singleplayer → New → Start → play icon
After adding a breakpoint and viewing in DevTools, the scene appears to be perfectly fine (though it is missing some of the animation functions).
Edit: Note that the project is using Babylon v5.27