FPS Gun Inertia/Sway

Hi, I was wondering of a method to add some sort of inertia to my gun when the camera moves.
If you don’t know what I mean here’s an example: (Skip to 5:30)

See how when the camera moves the gun has a slight delay, I think that makes the weapons feel a lot more immersive and was wondering how I’d do it with the weapon parented to the camera?

If anyone could point me in the right direction that’d be amazing :slight_smile:

Cheers, Anthony.

You would need to unparent weapon from the camera then write some script for weapon that will follow camera but with inertion. For example using Vector3.Lerp would be one way.

1 Like