Yea but that mostly checks if the ball is going straight on the x axle. But if it's going in a diagonal fashion then your statement might miss that!micha wrote:-snip-
I've put together a small image representation to explain this:
From this I hope you also see the obvious problem.