How can I create a realistic gunshot effect when shooting gun?

Hello, I am trying to make some guns right now, and the problem of how can I make the gunshot effect hit me.
I am trying to achieve something like this: shoot1

As you can see, in the gif, the gunshot is quite big and it slightly lights up the environment around it, and creates random irregularities at the edges of the gunshot each time it’s being shot.

Is it possible to create something similar in 3D ?
I was thinking about making a BillboardGui show up but it looks bad when changing angles. Any help would be appreciated !

10 Likes

Make 3 or more gun flare images and combine them into a sprite sheet. You can easily animate it afterwards by randomly selecting the image every shot.

9 Likes

^ What he said, on top of that some random rotation and smoke particle effects would be good.

7 Likes

Perhaps you can try using a ParticleEmitter, split-second activation and it should decay fast.

A fixed BillboardGui with specific pixels instead of scale should also do the trick and this is maybe the more suitable method.

8 Likes

Would a BillBoardGui work in 3D? That’s what I’m trying to make

5 Likes

Would that work from different angles ? I’m trying to make a 3D-like flare

4 Likes

Can I see what you have so far?

5 Likes

Creating gun flare images would be your best option however you should also note that muzzle flashes only occur in darker spaces. Movies often over exaggerate the effect and make it feel less realistic. Every shot should emit an amount of light but only for a split second.

6 Likes

A billboard will work. It will sort of moves around with the characters viewport but if the image only shows for a split second it shouldn’t be too noticable and will still be fairly realistic.

5 Likes

I edited these 3 images out of that gif:
Shoot1 Shoot2 Shoot3

4 Likes

This is not true. Perhaps you misworded it?
Muzzle flashes appear regardless of darkness. The burning gunpowder doesn’t care if you’re in light, it’s still going to burn. The difference is how well you can see it due to contrast with a darker background.

Here’s a picture of me firing a 9mm handgun in a well lit gun range. Flash is very visible regardless.

Just want to point out, you probably don’t want your game to have the exact same effect as the GIF. If you’ve ever fired a weapon, you’ll know that muzzle flash is not the size of a beach ball like in that GIF. The movie greatly exaggerates the effect to the point that it becomes goofy. You can certainly use the images, but use them smaller than the movie vfx artists did.

11 Likes

I’ll use what looks the coolest for the game, but thanks for the advice !

5 Likes