jjdelv Posted October 17, 2009 Share Posted October 17, 2009 I was wondering if anyone knew how to achieve an effect similar to the rotation of the little red cog on this site using tweenmax. http://www.ysannephotography.com/ Link to comment Share on other sites More sharing options...
GreenSock Posted October 17, 2009 Share Posted October 17, 2009 You mean just make something continually spin? Just tween the rotation and set the repeat property to -1 (infinite loop) in v11: http://blog.greensock.com/v11beta/. TweenMax.to(mc, 1, {rotation:"360", repeat:-1}) Link to comment Share on other sites More sharing options...
jguthrie Posted November 3, 2011 Share Posted November 3, 2011 you will want to set the ease to: ease:Linear.easeNone as this will make sure that it rotates smoothly... 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