How to smoothly lerp a camera spring arm offset?

Think of it as a side-scrolling camera that goes ahead of the player.

Followed this bit which led me to this:

This was made in the side scrolling template, it accounts for the somewhat odd camera setup there and behaves like so:

Using the camera lag here; to control the way the camera snaps back, you will need to work in interpolation - fInterpTo will do the trick.


Do tell if the above is enough to get you going or if you need it to work with another camera setup. Perhaps you’re building something from scratch and need a more elaborate or specific behaviour.