I’m using a coroutine to jump like in this tutorial :
it adds a decreasing force in the coroutine while you jump, this is my first time using a coroutine for a jump so im not sure why the jump height changes.
I’m using a coroutine to jump like in this tutorial :
it adds a decreasing force in the coroutine while you jump, this is my first time using a coroutine for a jump so im not sure why the jump height changes.
Maybe you should debug the proportion force, before it do addforce. Then check several time, are the values give same value)?
and i see the sample in the website that you attach, your concept that you use is The Just Right right? i did not see it’s give same height jump.
maybe you can try it by learping to the height you want, multiple it by curve for acceleration, and do the down after jump too, then give max to gravity * time.deltatime when it’s still falling.