I t used the onCollisionEnter method, but I think I messed up the controls and put Input.GetKey, which leads to a inconsistent jump height, instead of Input.GetKeyDown. Thanks for your feedback. :)