buster808 Posted May 1, 2021 Share Posted May 1, 2021 Hi, how can I keep the snowboard in the middle when a user is scrolling. I want to keep the easing effect when setting scrub:1 or maybe theres another way to have easing as well as keeping snowboard in the middle of screen. Thanks for any help. See the Pen mdRZjYL by buster808 (@buster808) on CodePen Link to comment Share on other sites More sharing options...
Solution buster808 Posted May 1, 2021 Author Solution Share Posted May 1, 2021 Hi, Ive got this working by making my path longer. also smoothed animation from here ScrollTrigger.scrollerProxy() Link to comment Share on other sites More sharing options...
mikel Posted May 2, 2021 Share Posted May 2, 2021 Hey @buster808, The option here is that the object moving along a path is always positioned in the center of the screen. See the Pen qBqEeMj?editors=0010 by mikeK (@mikeK) on CodePen Happy scrolling ... Mikel 4 1 Link to comment Share on other sites More sharing options...
Rodrigo Posted May 2, 2021 Share Posted May 2, 2021 @mikel 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now