.:HyPeX:. Posted December 18, 2014 Share Posted December 18, 2014 Hello, how can i get an easing function with the green line parameters? For a screen animation, if i'd use linear or most of them, it would be a straight line between these 2 points, but i need a way to do this... is there any, or i need to get multiple points in its trajectory?, like black line, but in a more repetitive way. http://imgur.com/ILz4urG Greetz Link to comment
MTA Team 0xCiBeR Posted December 18, 2014 MTA Team Share Posted December 18, 2014 You could use some math to curve your Straight Line. Link to comment
.:HyPeX:. Posted December 20, 2014 Author Share Posted December 20, 2014 You could use some math to curve your Straight Line. How so? some radians & sine/cousine? Link to comment
MTA Team 0xCiBeR Posted December 21, 2014 MTA Team Share Posted December 21, 2014 Yes, tho now that i remember, you could simply use and easing function that curves your line, if i'm not wrong, OutBack does the trick. I maybe wrong. I curve my animations using easing functions and interpolateBetween. Link to comment
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