Added different behaviour depending on where the ball hits the bat.