FPS camera wobble effect

I’m looking to re-create this camera effect (shown in the video below) When the character equips the rifle, it nudges the camera slightly



I’ve tried looking on the forums for a solution, but as you can tell by this post (it didn’t work well :D)

Probably by using a positional spring and a rotational spring on the camera,

Here is an example of rotational spring,

Another method is animating it which people do in blender with a camera part.