Greenpig Posted October 8, 2020 Share Posted October 8, 2020 Hi guys ! Is that possible to couple those two plugins (Physics2d & MothionPathPlugin) to create a kind of "maze" what I want is that the svg circle fall and stop at the end of the path 😕 i don't see this anywhere :3 thk's See the Pen JjKjgXL by bable (@bable) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted October 8, 2020 Share Posted October 8, 2020 Hey Greenpig and welcome to the GreenSock forums.  How are you picturing these two being paired together? If the MotionPath has control over the dot then the physics plugin won't be of much help...  What do you mean "fall and stop at the end of the path"? Link to comment Share on other sites More sharing options...
Greenpig Posted October 8, 2020 Author Share Posted October 8, 2020 thank's ! So i want to create this : first step  rotate the path  second step rotate again third step : So what i want to do is to allow my circle to fall but following the path thank's for hellping me   Link to comment Share on other sites More sharing options...
ZachSaucier Posted October 8, 2020 Share Posted October 8, 2020 To do that sort of thing I would break your path into a smaller path for each line segment. Then I would create an animation for each segment that: Rotates the entire group of segments to where "down" appears the direction the ball should go. Animates the circle from the top to the bottom, using whatever easing or physics-y animation you want to use (maybe with a little bouncing at the end, that would be fun). Then sequence all of those in a timeline. Link to comment Share on other sites More sharing options...
mikel Posted October 8, 2020 Share Posted October 8, 2020 Hey @Greenpig  Check out this post too    Happy tweening ... Mikel Link to comment Share on other sites More sharing options...
mikel Posted October 9, 2020 Share Posted October 9, 2020  Hey,  This little experiment is based on See the Pen PdXLja?editors=0010 by PointC (@PointC) on CodePen  See the Pen ExyavMp by mikeK (@mikeK) on CodePen  Happy tweening ... Mikel  3 Link to comment Share on other sites More sharing options...
Greenpig Posted October 12, 2020 Author Share Posted October 12, 2020 Niccce ! thanks soo much ! Â Â 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