public void jump() {
        //TODO: debounce over some frames
        if (!onGround) {
            return;
        }
        jump = true;
    }
Makes the character jump with the set jump force.
jme3-jbullet/src/main/java/com/jme3/bullet/control/BetterCharacterControl.java