Camera - add torque in radians

I used “add torque in radians” to make my ball always move forward. But I want the camera to move too. I know I could make the camera children of ball, but if I do so, The camera will move with ball not only forward, but to sides too. And I can’t use “add torque in radians” with camera, beacuse “Camera Component Object Reference is not compatible with Primitive Component Object Reference”.
This is how blueprint script with ball looks like:

And I want the camera to move forward with ball, and only forward. If ball moves to right or left then camera must stay on center.

Try adding a SpringArm as a child of the ball, then add the camera as a child of the SpringArm