add basic control for the ballobject to jump (need debug)