Hi,
I’m trying to archive an effect like the scroll page of mobile IOS page swipe: If you leave the touch when you are between two pages it auto-move centre at the most adjacent page. Any idea?
Hi,
I’m trying to archive an effect like the scroll page of mobile IOS page swipe: If you leave the touch when you are between two pages it auto-move centre at the most adjacent page. Any idea?
The API has:
horizontalNormalizedPosition
verticalNormalizedPosition
These can be used to force the position of the content. They take a value between 0 and 1.
Thank you!
Ok, now i need to be able to set the normalizedposition to smoothly interpolate into my set position based on scrollspeed. Animation seems too clunky. Any ideas on how to set this up? Im thinking like a gravity attractor pulls you in when your within range…