Back to Browse

Unity Tutorial: Ranged Weapon Basics (Fire Modes & Hit Checks)

671 views
Nov 14, 2024
1:09:48

In this tutorial we are going to build some of the key infrastructure to support weapons. In particular we are going to focus on supporting different fire modes as well as projectile vs hitscan weapons. 🎞️ Chapters 00:00 Introduction 01:15 Setting up our skeleton scripts 03:20 Setting up our weapon GameObject 07:00 Base weapon foundations 21:50 Update logic 23:30 Starting and stopping firing 31:00 Setting up the logic for performing a ""shot"" 39:35 Adding in our weapon error 44:20 Implementing our tick logic 48:20 Setting up our base projectile 55:00 Adding debug helpers 58:40 Setting up our projectile prefab 1:01:00 Adding our debug UI 1:03:15 Testing our system 📂 Grab the full project ➠ https://github.com/GameDevEducation/UT_Weapons If you've got questions add a comment below or send them in for the next Q&A video 🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA 📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-education/ Looking for other ways to get involved? 🟠 Support the channel on Patreon ➠ https://www.patreon.com/IainTheIndie 🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation 🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/ 🟣 Follow me on Twitter ➠ https://twitter.com/IainTheIndie 🎉 Thankyou to all of the Patrons 🎉 ➔ Arman ➔ Kieran B ➔ Grant Coble-Neal ➔ John Kenneth Douglas ➔ Kasper Enwall ➔ Tylah Heil ➔ Inho Kim ➔ James McCarthy ➔ Travis Mosier ➔ Benjamin Russell ➔ Seriphis ➔ Callan Syratt ➔ Serj Tomas #Unity #Tutorial #GameDev

Download

1 formats

Video Formats

360pmp499.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Unity Tutorial: Ranged Weapon Basics (Fire Modes & Hit Checks) | NatokHD