Make A Projectile Weapon in Godot!


This week we look at making a projectile weapon in the Godot Game Engine. We will be making a Rocket Launcher projectile to fire from that rocket launcher. And an explosion to damage enemies and throw physics objects around the room. For the projectile weapon, we will be using a physics object and learn how to spawn it. We will instance it the end of the rocket launcher, sending it through the air to collide with objects and enemies. Finally, we will create an explosion that has an impactful effect.

Projectile weapons can be a little tricky in the godot game engine. There are a few tricks to make sure that the process works smoothly with your game.

For example making the projectile for your Gun go too fast can actually cause it to pass through objects as it travels faster than the frame update. Rocket launchers are a good candidate for a projectile weapon. Because the projectile does not need to travel too fast in order too look good.

There are also a few tricks in here to make your explosion effect enemies and rigid bodies.

A projectile weapon in Godot is a must have for any FPS project. I'll show you the best way to create a projectile weapon in Godot.

You should also consider downloading my FPS Template for Godot and follow along side me to create this project. This should make things a bit easier. As I do not explain how to make a FPS controller or link up the weapon to a firing input.

Watch on YouTube!

Download my Godot FPS Template to work along side me!

Files

GodotFPSController_1.3.3.zip 211 MB
Jun 08, 2022

Get Godot 3.5 FPS Controller

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.