Share Posted November 30, 2015 Hi, I was wanting to draw a car sliding down a curve. The car is already an svg image but I was thinking I need to render a "linear bezier path" with the GSAP Bezier plugin so that I can have precise control in how the car makes contact with the line thoighout the GSAP Bezier animation. My approach would be two have two parrallel paths, one in which the car traverses and another below that is drawn and makes contact with the car's tires throughout. This is crazy, but I have never just drawn a line with GSAP (HTML5 yes). How would I draw the actual linear path that the svg car's tires are contacting. I am more familiar with how to do this in HTML5, but would like to see GSAP's way of rendering a straight line and matching these coordinates up to the svg sprite motion. Link to comment Share on other sites More sharing options...
Share Posted November 30, 2015 Hi jstafford pls check this thread about using MorphSVG Plugin + Bezier plugin : http://greensock.com/forums/topic/13220-animating-along-a-path/ 2 Link to comment Share on other sites More sharing options...
Author Share Posted November 30, 2015 Cool Diaco. Thank you. I will try this out tomorrow. 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