Factored out calculation of ball position