I have a AFrame webpage with some animation & background music. The animation starts as soon as page loads but music takes time to load. Is there a way like wait/sleep wrt the scene (or animation) so that my animation starts only after the music is loaded fully.
You have to place your assets in the a-assets
element so they block render until they load. You can find an example here: https://github.com/aframevr/aframe/blob/master/examples/showcase/anime-UI/index.html#L14