Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System #shorts @LlamAcademy
Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System #shorts  @LlamAcademy
Uploaded October 2022 | Updated September 2026, 2 hours ago
Full Tutorial: youtu.be/E-vIMamyORg

Learn how to create a ScriptableObject-based gun system from scratch for your game!

In this video, which is part 1 of a much larger gun system series, we'll create 3 ScriptableObjects to control our Gun, Bullet Trails, and Shoot Configurations for 2 types of guns. Specifically we're doing "Hitscan" or Raycast shooting in this video.

In this series you'll learn how to make a configuration-driven gun system with ScriptableObjects that will be able to have:
⚫ Hitscan Guns - Covered in THIS VIDEO!
⚫ Projectile Guns
⚫ Simple Bullet Spread - Covered in THIS VIDEO!
⚫ Complex Bullet Spread
⚫ Reloading
⚫ Attachments
⚫ Animated Models
⚫ Simple Impact Damage
⚫ Damage Effects such as burning, freezing, explosions, etc...
⚫ And even more!

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

📚 References
⚫ Unity 2021 Object Pool: youtu.be/zyzqA_CPz2E
⚫ Impact System: youtu.be/kT2ZxjMuT_4
⚫ Scriptable Objects, Explained: youtu.be/dIAAi54Ty58
⚫ Lerping Fundamentals: youtu.be/IymDGkzwJts

📱 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
Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System #shortsBetter Enemy Chasing with Intercept Courses | AI Series 44 | Unity Tutorial #shortsBake Your Animations to Greatly Improve Performance...For Some Use Cases | Unity TutorialAdvanced Lerping | Unity Tutorial #ShortsUnity Scene Transition Animation Framework | Unity Tutorial #shortsEnemy Behavior Tree AI FULL IMPLEMENTATION (AI Tree) | AI Series 48 | Unity TutorialWhy New WRITING CODE is a CRITICAL SKILL for Game DevsStatic vs Instances | Unity C# Basics Part 4While upgrading from Built-In Pipeline to URP I found an issue with the Decal Projector #ShortsCinemachine Transposer & Composer for Top-Down Object Targeting | Unity TutorialHow to Implement a Touch Movement Joystick Using the New Input System | Unity Tutorial #shortsAnimator Transition Interrupt Sources, Explained | Unity Tutorial #shorts
LlamAcademy |

Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System #shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER