Gun lag behind camera

I know there have been many questions and answers to this but non of them actually achieve what I’m trying to do. How can I make my gun (without animations) to lag behind the camera, like it takes my gun 1 second longer to move to the direction the camera is facing? I have had other scripts that make the gun go ahead of the camera when it moves but not behind it, if anyone can help me out I would be very thankful.

There are two options:

  1. You could save the camera’s position for one second before applying it to the gun
  2. You could use Lerp or SmoothDamp to move the gun’s position towards the camera

Which one works for you will depend on your specific situation