Every FPS game has this problem. Here’s how to solve it in Unity.

AIA

Open page