Procedural Recoil and Bullet Spread | Gun Series 2 | Unity Tutorial #Shorts @LlamAcademy
Procedural Recoil and Bullet Spread | Gun Series 2 | Unity Tutorial #Shorts  @LlamAcademy
Uploaded November 2022 | Updated September 2026, 1 hour ago
Full Tutorial: youtu.be/pwq7F5DeQnI

Learn how to implement procedural bullet spread and gun recoil into your game with this ScriptableObject-based gun system (Part 2 of the Gun Series!)

In this Unity Tutorial you'll learn how to implement recoil/bullet spread in 3 ways -
1. No spread - always perfectly accurate
2. "Simple" Spread - the most common way you'll find to implement spread, based on random values in a Vector3 Range
3. Texture-Based Spread - sampling a texture to define a "pattern of randomness" based on some texture data. Using this you can get something like the recoil in popular games such as Counter-Strike.

Bullet spread and Recoil are inseparable topics, because the recoil actually makes the bullet spread happen! Learn how to do both in this tutorial!

As always, all code from this video is available on GitHub: github.com/llamacademy/scriptable-object-based-guns


πŸ“± Let's stay connected
YouTube: youtube.com/c/LlamAcademy
Patreon: patreon.com/llamacademy
Facebook: facebook.com/LlamAcademyOfficial
Twitter: twitter.com/TheLlamAcademy
TikTok: tiktok.com/@LlamAcademy
Instagram: instagram.com/LlamAcademy

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: patreon.com/llamacademy

----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets: assetstore.unity.com/publishers/22409?_aid=1101l9QvC
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment
Procedural Recoil and Bullet Spread | Gun Series 2 | Unity Tutorial #ShortsAccurate Aiming Options Discussed & Implemented | Gun Series 7 | Unity TutorialStatic vs Instances | Unity C# Basics Part 4 #ShortsRead Texture Data from C# Scripts | Unity Tutorial1 Scene INFINITE Levels by Spawning Levels from ScriptableObject Data at Runtime | Unity TutorialBlend Between Textures in a Shader (Vertex Colors) | ShaderGraph  Unity TutorialVisualize a NavMesh, In Game! | AI Series 45 | Unity Tutorial
LlamAcademy |

Procedural Recoil and Bullet Spread | Gun Series 2 | Unity Tutorial #Shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER