Jump to content
Search Community

MotionPathPlugin with delay between each object

szehao test
Moderator Tag

Go to solution Solved by PointC,

Recommended Posts

  • Solution

Hi @szehao :)

 

Welcome to the forum.

 

The delay you're seeing is the ease of "power4". I'm guessing you wanted something more like this with a linear or "none" ease.

 

See the Pen mdpKxdb by PointC (@PointC) on CodePen

 

I'd also recommend placing all the elements inside the SVG so everything scales nicely together.

 

Does that help?

 

Happy tweening and welcome aboard.

:)

  • Like 4
Link to comment
Share on other sites

That's an interesting solution, I'll try to see if I can make use of it. By the way, is it possible to set a property based on the MotionPath progress? I'm trying to control the opacity of the animated objects, by setting the opacity from 0 opacity at 0% to 100% opacity at 30%. I know on ScrollTriggers, i can control that using the onUpdate, but can't seem to find any ideas on how to do it on MotionPaths

Link to comment
Share on other sites

Not exactly, in the demo you provided, the opacity starts from 0.3 and goes to 1 throughtout the length of the path. What I would like to achieve is being able to start from 0.3 opacity, but reaching opacity of 1 halfway through the path.

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...