How to make a gun Muzzle Flash in under 2 minutes (Unity 3D)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so you made a gun in unity and yay can shoot but it feels kind of empty or like it's lacking something to improve the game feel we can make a muzzle flash appear when we shoot our gun rifle assault rifle smg lmg revolver or normal pistol [Music] first we start by making an empty game object for our flash then we download the muzzle flash effect from the unity asset store or if you're feeling cool you can draw it yourself put your favorite flash as a child in the game object then copy it and offset it by 90 degrees then drag it into the project folder make another game object put it under the camera and align it with the end of the brow of the gun and that's it [Music] now time for coding first we have to define the muzzle flash prefab and the muzzle flash position next we instantiate the prefab at the muzzle flash position when we shoot our gun and destroy it after a short time that's it here's the result if you want to know how i did the gunshot sound come back next video and i'll show you or if you're cool you can just figure it out on your own hint it has the same premise behind it
Info
Channel: Kotm8
Views: 5,099
Rating: undefined out of 5
Keywords: Unity, 3D, Game, Muzzle, Flash, Muzzle-flash, gun, Gun, unity, make, how to, How to
Id: QSFRX8spwng
Channel Id: undefined
Length: 1min 48sec (108 seconds)
Published: Sun Aug 14 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.