Changed smoothed trajectory path to be local.