Back to Browse

Shooting with Raycasts in Godot Tutorial

5.0K views
Feb 23, 2025
12:10

In this comprehensive tutorial, we'll walk you through creating a fully functional and realistic shooting mechanic in Godot. Learn how to implement features like an ammo system, reloading, damage mechanics, and interaction with physics objects. We'll also add important visual effects such as muzzle flashes and bullet holes, along with audio for shooting and reloading to enhance the realism. Additionally, we'll tackle issues like gun clipping, recoil, and bullet spray, making your shooting mechanic feel polished and immersive. This tutorial is perfect for self-taught indie game developers and beginners working with Godot engine, aiming to improve their game mechanics from start to finish. -------------------------------------------------------------------------------------- Starting Project: https://github.com/SlicedBlue3D/shooting-tutorial Finished Project: https://github.com/SlicedBlue3D/shooting-with-raycasts I Created a Beautiful Menu Inside Godot Game Engine: https://youtu.be/vn9-8F2NhBg Other Godot Projects: https://www.youtube.com/playlist?list=PLFHEnTCMV8NAlVpemRJHEg61AlD2V4t2t -------------------------------------------------------------------------------------- My Games on Steam: https://store.steampowered.com/curator/45757262/ My Games on Itch: https://slicedblue-3d.itch.io/ Free Resources: https://github.com/SlicedBlue/ -------------------------------------------------------------------------------------- Chapters: 00:00 Intro 00:23 Setup 00:40 Shoot and Get a Result 02:17 Ammo & Reloading 03:32 Automatic Shooting 04:07 Damage and Impact 06:01 Muzzle Flash 07:30 Decals 08:07 Sound Effects 08:53 Bullet Trails 09:27 Shooting Through Walls Fix 09:57 Gun Clipping Fix 11:00 Recoil 11:35 Spray 11:51 Like & Subscribe #godot #gamedev #tutorial

Download

0 formats

No download links available.

Shooting with Raycasts in Godot Tutorial | NatokHD