M
M
MishkaVNorky2019-06-05 14:57:20
C++ / C#
MishkaVNorky, 2019-06-05 14:57:20

Jump interpolation?

Hello.
I can’t figure out how to implement it correctly, as I understand it, you need Lerp + SmoothStep.
It is necessary that the interpolation goes from 0 to 1 and back to 0 in time.
I think the question is quite easy, for those who understand.
5cf7adeede3c8961425408.png
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2019-06-05
@Griboks

Usually the jump is done via addForce(Vector2.up*jumpForce) with gravity enabled, then the object will jump in a parabola.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question