Amazing, really nice!!
I’m developing a similar project where I have to synchronize a quite complex fbx animation with the scroll.
I’ve it almost finished and finally the best way I’ve found to make it work well is to reproduce the exact second of the fbx animation depending on the exact position of the scroll.
But I think I couldn’t even make one ? In the playground, we can’t use a “normal” webpage and use it’s scroll position with JS, right ? i don’t think we can even scroll in the playground, just display a “standalone” Babylon.js scene ?
I could make a playground to help if it’s possible, but I believe it isn’t
@jayakannan This is quite simple, the babylon scene is in a div with “position: fixed” as CSS, while the rest of the page is just a “classic web page”.
On my site, the babylon scene is fixed only for a part of the page, and scrolls when reaching the bottom : I just detected with JS when the page is between a upper and a lower limit, and switched the div to fixed if we’re between the 2 limits, and to absolute if we’re not.