Share Posted March 16, 2016 How can I program an object using ThrowPropsPlugin along a spiral path (roulette wheel ball)? Link to comment Share on other sites More sharing options...
Share Posted March 17, 2016 Hi and welcome to the GreenSock forums. ThrowPropsPlugin can tween the velocity of any property so it can tween horizontal motion just as easily as it can rotation. For doing spiral motion it is going to be quite tricky to do that in a single tween. Here is a little snippet of spiral animation code for JavaScript http://www.html5code.nl/canvas-tutorial/tutorial-canvas-animation-spiral-movement/ the syntax is very similar to ActionScript but its the mathematical concepts that will hopefully help a little. It's definitely possible that once you figure out how to programmatically generate spiral animation that you could use ThrowPropsPlugin to tween a velocity value. It is a fairly ambitious undertaking and not something that we can just whip together for you. Link to comment Share on other sites More sharing options...
Share Posted March 17, 2016 One other random idea (which may or may not prove useful/doable) is to just use a Bezier for the spiral, create a tween along that path using a Linear.easeNone ease, pause it, and then you could "throw" its "progress" or "time" value. Probably not a perfect solution, but I figured I'd throw it out there (pun intended). 1 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