• 3D
  • How Do I Create a Gun Recoil Spray Pattern?

I'm trying to create an FPS game and was wondering how to create a gun recoil spray pattern. I could only find tutorials that made random range recoil patterns rather than custom designed ones like I'm interested in creating. How do I go about creating a custom recoil spray pattern?

You could maybe use an AnimationPlayer node that rotates the output of the weapon in the spray pattern you want. You could have the animation rotate the output of the weapon, like rotating the node used to position the bullets, using a call track and calling methods to change the bullet recoil, or by adjusting exported properties directly.

Another more advanced/complex idea could be to create curve path nodes for each weapon type and use values from path follow blended with some random jitter to drive the aim/reticle to emulate the effect.

Probably not worth over complicating your project like that for now tho. You could just implement something simpler now and return to the problem later if you feel you have the time and have gained the experience to experiment with this more in-depth.