This example shows how to make a realistic spray and recoil system in a top‑down shooter.
Use W, A, S, D to move around, left mouse button to shoot.
W
A
S
D
left mouse button