Share Posted January 28 Hi, I'm having a weird problem with gsap timeline. I'm trying to play GLTF animation base on scroll, but for some reason, when you scroll down then scroll back up, the timeline doesn't get back to 0 AKA the animation doesn't get back to its initial state. I set console.log and turn out the time just skip 1-2 seconds at the start of the animation. It seems like this only occurs when the end is set above 1000%. Is there a way to prevent this from happening? Disclaimer: This code is modified from GreenStock codepen , link: See the Pen PomoJNN?editors=1111 by GreenSock (@GreenSock) on CodePen See the Pen xxJJGYq?editors=1111 by Andinh123 (@Andinh123) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now