Smooth Follow Camera shakes violently

I made a sphere that i can control and was using the smooth follow script to track the sphere, but when i play the game the camera shakes violently. why does this happen and how can I fix it???

Is the camera a child of the sphere? i guess that's why! camera must not be a child of your object while smooth follow is applied.

I found the solution!! I put an empty object inside the sphere with all the same control settings and followed the empty space not the sphere. seem to fix the problem nicely.