Jump to content
GreenSock

thomasJack

MorphSvg Rotational not working any help?

Moderator Tag
Go to solution Solved by PointC,

Recommended Posts

Invalid property type set to rotational Missing plugin? gsap.registerPlugin()

 

tl.to(waveAC, {morphSVG:waveA, type:"rotational", origin:"20% 0%", delay:0},"<")
Link to comment
Share on other sites

I guess i should mention that the morph works, i just cant set the anchor points and have it do the morph rotationaly

Link to comment
Share on other sites

  • Solution

You'll need to write with an object like this:

tl.to(waveAC, {
  morphSVG: {
    shape: waveA,
    type: "rotational",
    origin: "20% 0%"
  }
});

Happy morphing. :) 

  • Like 2
Link to comment
Share on other sites

awesome, thank you so so so much!!!!

 

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.
×