Smooth ball rolling

I’m not sure, but think you can clamp the hight in the position vector?
clamp camera