How to sync scroll and camera movement?

Hello,

I saw this video on your youtube channel, i wonder how can i do the same ?

Thank you !

Original Post on Discord

by user 98864285941252096

Hey, please have a look at the scrollytelling sample: Needle Engine Samples

you find the code on github

Thank you :slightly_smiling_face:

by user 98864285941252096

You basically just set the time value on a PlayableDirector component :slightly_smiling_face:

and use the position of the scroll min-max you get from e.g. window.addEventListener("scroll", (scrollEvt) => ... )

Hey Marcel, I downloaded and imprted the sample scenes into unity but I don’t know how to access them

by user 1048380532003709008

You can find them via e.g. the menu item in Needle Engine/Explore Samples