Besides Lerp
and SLerp
, does Unity have any sort of easing functions built in, say if you wanted to move an object from point A to point B in exactly 2 seconds with a “Cubic ease-in”?
This seems like something that should be built into any game library, but I can’t find any reference to it. I have been having a difficult time Googling this; what have been finding (among a whole lot of unrelated or completely incorrect stuff) are the occasional function written by individual forumers.
Is there proper easing built into Unity 5, or am I going to spend my weekend porting Robert Penner’s easing functions? (I don’t mind, I just don’t want to do the work and realize on Monday it already existed).