Miroku_87 Posted November 22, 2010 Share Posted November 22, 2010 Hi greensock! Is there a way to tween an object with constant speed? I'm already using the formula duration = distance / velocity; but I see that the tween starts fast then slow down and stop at the wanted coordinates. I would like it not to happen. Is it possible? Link to comment Share on other sites More sharing options...
GreenSock Posted November 22, 2010 Share Posted November 22, 2010 By default, all tweens use a Quad.easeOut ease because that's the most common thing most folks want (in the real world, movements typically ease out). If you want to avoid any easing, just use the Linear.easeNone ease. Like: TweenLite.to(mc, 1, {x:100, ease:Linear.easeNone}); Check out the tips & tricks page. http://www.greensock.com/tweening-tips/ Link to comment Share on other sites More sharing options...
Miroku_87 Posted November 22, 2010 Author Share Posted November 22, 2010 Oh I thought it was something similar but watching the demo I should have missed it! Thank you very 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