How to Make a Smoke Trail Effect in Unity

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
okay hey so we're gonna do a quick tutorial on how to achieve the smoke trail in unity [Music] i based this implementation on the textures that can be found in unity's particle pack but i'll link them down in the description below for your convenience [Music] the first thing we want to do after bringing the texture and normal map into unity is to change the texture type of the normal map to normal map after that's done we can go ahead and create a new material [Music] we'll name it something useful and we'll need to change the shader type to particle standard surface [Music] we can then go ahead and drag the texture into the albedo and the normal map into the normal map we can change the random mode to fade enable flip book and soft particles and we'll want to set the far fade to around 0.5 we can also go ahead and enable emission and finally we can set the colors to a gray and then a darker gray for the emission with our material completed we can go ahead and add a new particle system game object we'll name it something useful create a prefab out of it and head into the prefab edit mode [Music] we'll set the duration to about two seconds the start delay to about 2.5 seconds and the start speed will leave at five seconds [Music] in the render row we'll just drag the new material that we created in so that we can actually see some change happening at the start this just renders the whole sprite sheets in each particle which isn't what we want so we can enable the texture sheet animation and we can set the tiles to five by five at this point we can see the sprite sheet animation plays through in each one of the particles so i just noticed that the position was all weird so i'm just going to reset that and with our orientation sorted out let's just fill a bit more so that we can get this looking like something that would come out at the back of a rocket we'll start by increasing the emissions so that we have lots more particles then in the shape module we'll reduce the angle to zero and the radius to 0.1 making it a much thinner particle trail next we'll change the color of a lifetime so that we can go from a lighter color to a darker color and a more transparent one over time we'll enable the size of a lifetime module so that we can go from smaller particles to bigger particles as the gas expands i'm also just going to increase the amount of emissions so that it looks a bit thicker we're going to have to change the space in which this renders because if we move it around then nothing happens and we want it to be affected by movement so we'll just change the simulation space to world and cool that looks pretty awesome [Music] lastly i just want to change the gravity to a small negative value so that the smoke rises over time then i'll just attach the particle object to the missile and if you care about the missile by the way check out this video about how i made the rocket launcher and with that done everything seems to work as expected [Music] okay cool bye
Info
Channel: Tvtig
Views: 36,531
Rating: undefined out of 5
Keywords: unity3d, gamedev, unity game dev, how to make particle effects, unity particle effects, how to make a smoke trail in unity, unity smoke effect tutorial, unity smoke trails, unity particle effect tutorial, unity smoke trail particle, unity particle smoke effect, unity particle effect smoke tutorial, smoke effect tutorial unity, unity smoke trail effect, unity smoke trail tutorial, unity effects tutorial, unity smoke trail effect particle tutorial, unity tut smoke trail
Id: 0mvaFKTTeUs
Channel Id: undefined
Length: 3min 36sec (216 seconds)
Published: Thu Jul 15 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.