Jump to content
Search Community

my motion path needs offsets, but why?

geedix test
Moderator Tag

Go to solution Solved by OSUblake,

Recommended Posts

My codepen is copied from a bigger animation where other motion paths are working as expected. I've tried redrawing the paths for this one, but the "corner" element still doesn't align to its motion path without the offsets. Is it trying to wrap around to the left? Mystified as to why I need  

offsetX: 1545,
offsetY:-112

 

See the Pen qBmMemd by geedix (@geedix) on CodePen

Link to comment
Share on other sites

Yep, that was already fixed in the upcoming release which you can preview [compressed] at https://assets.codepen.io/16327/MotionPathPlugin.min.js

 

if the <path/> you use for a motionPath contains data that has no commas or spaces between values like 126.87-32.48-310.91-58-499 instead of 126.87,-32.48,-310.91,-58,-499, MotionPathPlugin had a hard time parsing it correctly. There was a related thread a little while ago:

Sorry about any confusion there, @geedix

  • Like 3
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...