you should use it like this:

first calculate the position where the cameta SHOULD be if there were no smoothing to a vector( vcalc ), then use vec_lerp to calculate camera.x using the calculated position and the current position of the camera.

vec_lerp( camera.x,current position,calculated position,play with this factor value)


3333333333