Plenty of ways with scripting - in fact, LaneFox’s suggestion does involve scripting, I believe you’ve misinterpreted it. He’s not saying make an animation; he’s suggesting you create a variable of type AnimationCurve, and in the course of your loop, take a sample of the value at a given “time” value. AnimationCurves are useful for far more than just animation.
Check out the AnimationCurve class in the manual for more info.
Sorry I don’t get it … I modify my lerp with yours, in “someTimeValue” I set Time.deltaTime*10f, but my object up, and up, and up again to infinity and never down.
My curve it’s like draw it above … I don’t understand.
EDIT;
Get finally a way ! I search for lerps exemple on Goo and discover that my lerps wasn’t good constructed !
Thanks at all, bye !