How to make projectile shoot straight out

im making a 3rd person shooter, i have the character set up and the assault rifle in his hand, How can i make projectiles shoot straight out of gun nozzle, create a nozzle flash, and make that work for all different kinds of guns i pick up from the ground. for example i pick up a rocket launcher after i just had a assault rifle in my hand, how can i make it shoot from the correct spot of the gun etc… even if i’m crouching it will still shoot correctly from the gun or jogging etc…

Can you describe the issue? I dont understand what you are trying to achieve.

Basically, how do i make a gun shoot, and damage other characters, like a normal shooter game. being able to switch guns and stuff like a normal gun game! and the reason i got so complicated with my explanation is most tutorials dont give me a good end result.

That is actually a lot of questions. To have more than one weapon you will need inventory control. To be able to pick up a weapon off the ground you will need a pick up class. Getting your weapon to work with all your animations would be a separate problem. There are several examples in the Learning tab besides the shooter base project, to download and study. There is a BP version for sale on the Marketplace. I know this one big vague answer but it is kind of a vague question. Good Luck

i have the prototype weaponds pack. and the animation starter pack, i just need to make the guns shoot! and there isint gonna be an inventory
its only gonna be whatever you pick up off the ground, which is really easy to do. if you can just tell me how to make guns shoot that would be great!

Have you looked at the ShooterGame sample? It has everything you are looking for. The only downside is its in C++. but if you have previous programming experience, you can easily port it to Blueprints.

Also take a look at this

But keep in mind that your question while small in words is actually quite vast. I dont think you’ll find all the answers in one place. For instance if you want to make the animations work with all your weapons, you’ll need to carefully design your weapons and its bones - it is not related to blueprints.

What I advice you to do is approach this step-by-step. First try to implement a weapon that shoots projectiles, then implement ammo types… Then weapon switching…and so on. That way you can understsnd how each works and when you ask questions, people can help you better.

i already have the animations and the weapons done! Ill try to follow that tutorial to make what i need, i usually like video tutorials more because those tutorials that you sent me are kind of unclear.

In that case, you will need to create a socket on your gun’s mesh (done from within UE4 editor). Then within the fire event (whichever key you assigned for firing), get the world-location of this socket and eject the projectile from that location.