Projectile Guns | Scriptable Object Gun Series 6 | Unity Tutorial
Learn how to make your guns shoot projectile / Rigidbody bullets instead of only Raycasts / Hitscan! We'll look at how to shoot "real" bullets instead of only showing the trail renderer along a path so you can have more complex bullet physics including drag and bullet drop. We'll also see how to prevent a Rigidbody bullet from "teleporting" through objects when moving at high velocities! Since this is part 6 of the Gun Series, if you're just now jumping in it might be a little confusing. You can watch from the beginning to see how and why each line of code exists here starting from part 1: • Shooting, Simple Spread, and Bullet Trails... 👨💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/script... 🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect... 📚 Resources: ⚫ Continuous Collision Detection: https://docs.unity3d.com/Manual/Conti... ⚫ The Collision Class: https://docs.unity3d.com/ScriptRefere... ⚫ OnCollisionEnter: https://docs.unity3d.com/ScriptRefere... ⚫ Impact Management System Tutorial: • Impact Effects with Scriptable Objects | U... 🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support: 🌟 Patreon: / llamacademy 🌟 YouTube Member: / @llamacademy or click the Join button on any video 📚 Take my Unity ShaderGraph Course: https://www.gamedev.tv/p/unity-shader... 👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/ 💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4 💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate) 💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate) Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase. Chapters: 00:00 Overview 02:07 Prevent Rigidbodies from "teleporting" through walls at high velocities 03:16 Raise Events on Collision - Bullet.cs 05:43 Hitscan and Projectile Support - ShootConfigScriptableObject.cs 06:10 Shooting Projectiles - GunScriptableObject.cs 08:38 Handle Impacts on Projectiles - GunScriptableObject.cs 11:15 Use Same Handler for Hitscan "Bullets" - GunScriptableObject.cs 11:41 Disabling TrailRenderer on Projectile - GunScriptableObject.cs 12:11 Create Bullet Prefab 13:00 Layers and Collision Configuration 13:57 Demo 15:06 Final Thoughts, What's Next, and Support LlamAcademy

Accurate Aiming Options Discussed & Implemented | Gun Series 7 | Unity Tutorial

Runtime Gun Swapping | ScriptableObject-based Gun Series Part 11 | Unity Tutorial

I Made a Game using AI Assets

ScriptableObjects, Explained | Unity Tutorial

Admob Interstitial Ads in Unity 2026 | Integration | Unity Mobile Ads Masterclass #2

He Knew Nothing... But Made $800,000 On His First Game (w/ Cakez) — Ep 66

The Most Inventive Anti-Cheats in Gaming History

Why Unreal Engine 5.8 is a Revolution

How To Make A Big Game (Alone)

Unity FPS Controller Tutorial Advance. #7 Weapon Aiming System, Reduce Sway & Recoil While Aiming.

Shooting, Simple Spread, and Bullet Trails in a ScriptableObject-Based Gun System | Unity Tutorial

4 Unity Destruction Libraries Compared - Which is best for you?

How I learned Unity without following tutorials (Developing 1)

20 Advanced Coding Tips For Big Unity Projects

The Deadliest Weapon of the Ancient World

Aiming with Inverse Kinematics (IK) and Animation Rigging | Gun Series 12 | Unity Tutorial

GRENADE / BOMB in Unity (Tutorial)

Procedural Recoil System | Unity Tutorial

SHOOTING with BULLETS + CUSTOM PROJECTILES || Unity 3D Tutorial (#1)

