You have to apply a gravity to the ball ex: phent_setgravity(0,0,-500);
And maybe increase the friction value.