Use Vector3.SmoothDamp for the smooth movement calculation. A min/max of zero means it's disabled.