• 3D
  • How to make a gun in fps camera

I've managed to make the player shoot a raycast but i want to make a gun and an animation for the gun. By the way my game is 3d and a fps

Do you mean how to create a 3D model of a gun? For that you'd need a program like Blender to make and animate the gun. Then you would import this into Godot and play the animation when the player shoots. Hope that makes sense.

It is a tad old a this point, but the FPS tutorial I wrote for the Godot documentation shows how to make a simple FPS game in Godot, complete with animations.

Though the tutorial does not cover making the 3D models or animations themselves. As @cybereality said, you will need to use a program like Blender for the 3D modeling, rigging/skinning, and animating of the guns. Godot’s AnimationPlayer node may work as an alternative for animating in Blender, depending on how the 3D models are setup and the desired results.

(Side note: Welcome to the forums!)

Thanks both @cybereality and @TwistedTwigleg now i understand