Greenpig Posted October 8, 2020 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.
ZachSaucier Posted October 8, 2020 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"?
Greenpig Posted October 8, 2020 Author 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
ZachSaucier Posted October 8, 2020 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.
mikel Posted October 8, 2020 Posted October 8, 2020 Hey @Greenpig Check out this post too Happy tweening ... Mikel
mikel Posted October 9, 2020 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
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