Uploaded February 2023 | Updated September 2026, 1 hour ago
Full Tutorial: youtu.be/LIB7uGDZou0
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: youtube.com/watch?v=E-vIMamyORg&list=PLllNmP7eq6TQJjgKJ6FKcNFfRREe_L6to
๐ธ Ongoing sales ๐ธ
โซ Lunar New Year Mega Bundles on the Asset Store: assetstore.unity.com/mega-bundles/lunar-new-year-2023?aid=1101l9QvC
โซ See all active asset sales on the Asset Store: assetstore.unity.com/?on_sale=true&orderBy=0&rows=96&clickref=1100lwtudvMJ&utm_source=partnerize&utm_medium=affiliate&utm_campaign=unity_affiliate&aid=1101l9QvC
โซ Save 25% off your first Asset Store Order: https://prf.hn/click/camref:1101l9QvC/creativeref:1011l78340
โซ Save up to 50% on NEW Assets: assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC
๐จโ๐ป As always, all code from this video is available on GitHub: github.com/llamacademy/scriptable-object-based-guns
๐ Resources:
โซ Continuous Collision Detection: docs.unity3d.com/Manual/ContinuousCollisionDetection.html
โซ The Collision Class: docs.unity3d.com/ScriptReference/Collision.html
โซ OnCollisionEnter: docs.unity3d.com/ScriptReference/Collider.OnCollisionEnter.html
โซ Impact Management System Tutorial: youtube.com/watch?v=kT2ZxjMuT_4
โค Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
โซ Patreon: patreon.com/llamacademy
โซ YouTube Member: youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video
๐ฑ 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
----
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
Full Tutorial: youtu.be/LIB7uGDZou0
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: youtube.com/watch?v=E-vIMamyORg&list=PLllNmP7eq6TQJjgKJ6FKcNFfRREe_L6to
๐ธ Ongoing sales ๐ธ
โซ Lunar New Year Mega Bundles on the Asset Store: assetstore.unity.com/mega-bundles/lunar-new-year-2023?aid=1101l9QvC
โซ See all active asset sales on the Asset Store: assetstore.unity.com/?on_sale=true&orderBy=0&rows=96&clickref=1100lwtudvMJ&utm_source=partnerize&utm_medium=affiliate&utm_campaign=unity_affiliate&aid=1101l9QvC
โซ Save 25% off your first Asset Store Order: https://prf.hn/click/camref:1101l9QvC/creativeref:1011l78340
โซ Save up to 50% on NEW Assets: assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC
๐จโ๐ป As always, all code from this video is available on GitHub: github.com/llamacademy/scriptable-object-based-guns
๐ Resources:
โซ Continuous Collision Detection: docs.unity3d.com/Manual/ContinuousCollisionDetection.html
โซ The Collision Class: docs.unity3d.com/ScriptReference/Collision.html
โซ OnCollisionEnter: docs.unity3d.com/ScriptReference/Collider.OnCollisionEnter.html
โซ Impact Management System Tutorial: youtube.com/watch?v=kT2ZxjMuT_4
โค Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
โซ Patreon: patreon.com/llamacademy
โซ YouTube Member: youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video
๐ฑ 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
----
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










