I'm doing some jumping behaiour, and i'm going crazy: I have a planet oriented gravity. When I precisly jump just after my player is OnGrounded, the next jump is bigger (the 2 last one in the pciture).

YET... When I jump, I do precisly that:

rb.velocity = jumpForce;

the jumpForce is constant, I have checked...

AND, after each OnGround... i do a rb.ClearVelocity();

and somehow, my jump still getting higher, someone have an idea of this weird rb conservation speed ?

enter image description here

  • \$\begingroup\$ You say jumpForce is constant. Is it not rotated relative to gravity? \$\endgroup\$ – Ed Marty Jan 25 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.