Hello,
I am trying to implement the appearance of cards using ScrollTrigger, they should appear from the right off the screen and move along an arc to the position they have in the example.
I have been trying to figure it out on my own for a long time, find a similar case, and I eventually came to the conclusion that I can use the MotionPathPlugin, but it does not transform according to these values:
const path = [
{xPercent: 15, yPercent: -15, rotate: -20},
{yPercent: -5, rotate: -10},
{yPercent: -5, rotate: 10},
{xPercent: -15, yPercent: -15, rotate: 20},
]
And in relation to the current element.
I would be very grateful for a full help or a hint, at least on how to implement them off-screen first, and then each take their place. I think I can figure out how to attach this mechanic to ScrollTrigger on my own
Thank you in advance!