Jump to content
Search Community

SVG roatation on start of MotionPath

kubo test
Moderator Tag

Recommended Posts

Hey,

 

I am new to GSAP and I have got a problem.
Problem is with rotation of SVG object (<g>) which always flip sideways and then follows path rotated in wrong direction.

 

Thanks for every respons :)

 

PS. That strange object is not really a problem I just don't know why Illustrator always manage to get it joined but it will be hidden under other layers.

See the Pen jOEGrGK by kubo-svk (@kubo-svk) on CodePen

Edited by kubo
Just added PS
Link to comment
Share on other sites

10 minutes ago, ZachSaucier said:

You can easily rotate the car to another orientation by using a numerical value instead of true. In your case I think you want a value like -90:

Thank you very much :D I never ever thought about using numeric value instead of bool in that statement.

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