Tutorial: RayCast3D Projectiles in Godot 4
In this Godot 4 tutorial we are building RayCast3D based projectiles, as well as tackling some common use cases such as: - Firing them in response to input events. - Cleaning them up with the Timer node. - Attaching to objects, so they can get embeded in things like enemies and moving platforms. 🤖 This tutorial is using Godot 4.2.2 stable. 🎁 Scripts available on Github here: https://gist.github.com/bramreth/91c86dbc981fbb45735992ba2bb07170 📰 Check out my Godot 4 course here! https://bramwell.itch.io/godot-4-beginners 📺 Also my GamedevTV course here! https://www.gamedev.tv/courses/godot-complete-3d?coupon_code=BRAM&affcode=45216_trphxmk0 ✨ Socials ✨ 🔗 Linktree: http://linktr.ee/bramwellgames 🐦 Twitter: https://twitter.com/bramreth 💬 Discord: https://discord.com/invite/AJ6uZ2k26G 🥰 Patreon: https://www.patreon.com/bramwell 🎮Games: https://bramwell.itch.io/ Chapters: 00:00 Introduction 02:50 The Projectile Scene 07:25 RayCast3D Nodes 09:38 The Projectile Script 15:24 Connecting Signals 16:29 Testing the Projectile 18:04 Projectile Launchers 18:55 The Projectile Launcher Scene 20:52 The Projecile Launcher Script 25:22 Testing the Launcher 25:51 Moving Targets 26:40 RemoteTransform3D Nodes 28:06 Using RemoteTransforms 31:02 Deleting Targets 33:05 Wrap-Up #Godot4 #GodotEngine #Gamedev
Download
0 formatsNo download links available.