Interpolation with a jump?

Hi all.

I can not understand how to properly implement, as I understand you need Lerp + SmoothStep.

It is necessary that the interpolation went from 0 to 1 and back to 0 over time.

I think the question is quite easy to understand.

5cf7adeede3c8961425408.png

Thank you.
March 23rd 20 at 19:12
1 answer
March 23rd 20 at 19:14
Usually the jump is done using addForce(Vector2.up*jumpForce) with the included gravity, then the object will jump in a parabola.

Find more questions by tags Unity Game EngineC#