How to change position slower in some parts of the scroll range using the scoll controls. #1629
Unanswered
burakkaraceylan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently using ScrollControls to change the position of the camera. I am using a CatmullRomCurve3 and the camera follows the spline based on the scroll value. However, I would like the camera to spend more time (eg. by changing position slowly) in some parts of the spline. What is the best way to achieve this? I wrote a math function that takes scroll value as input and produces a y value which is squeezed between the parts that I want but this will get out hand in more complex scenes. I am looking for an easier alternative.
Beta Was this translation helpful? Give feedback.
All reactions