Hi,

That is the normal behaviour grin . If you want the ball to move only depending on the camera pan, change
Code:
vec_rotate (ball_force, camera.pan);

with
Code:
vec_rotate (ball_force, vector(camera.pan, 0, 0));