kubo Posted December 30, 2019 Share Posted December 30, 2019 (edited) 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 December 30, 2019 by kubo Just added PS Link to comment Share on other sites More sharing options...
ZachSaucier Posted December 30, 2019 Share Posted December 30, 2019 Hey kubo and welcome to the GreenSock forums! 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: See the Pen oNgGzbZ?editors=0010 by GreenSock (@GreenSock) on CodePen 2 Link to comment Share on other sites More sharing options...
kubo Posted December 30, 2019 Author Share Posted December 30, 2019 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 I never ever thought about using numeric value instead of bool in that statement. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now