private void Update()
 {
     //Ask the controller to stop the jump if the jump key is released.
     controller.StopJumping(input.releaseJump);
 }