Quick changes made on Get Thee To The Bunker. I had already implemented a follow camera, but this was a static follow that moved 1:1 with the player. This is fine, and gets the job done, but feels pretty stiff. What I wanted was a bit of delay, kind of a sloppy follow that let’s the player get a bit of lead.

What I ended up with was a very easy change. I surfaced a public float to control the amount of delay and modified the camera’s position transform to use the Vector3.Lerp method. This was a two line change and feels much more smooth.

I remembered hearing about this in a gamesplusjames Unity tutorial video. My solution is slightly different, but not by anything terribly significant.