Unity VFX Graph - Hits and Impact Effects Tutorial

  Рет қаралды 121,729

Gabriel Aguiar Prod.

Gabriel Aguiar Prod.

Күн бұрын

Пікірлер: 99
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Here's some pretty cool Hits & Impacts for you, hope you enjoy this! By the way it's now available in the Asset Store: assetstore.unity.com/packages/slug/207061?aid=1100l3Jhu *Learn more about VFX Graph with this course* : www.udemy.com/course/unity-visual-effect-graph-beginner-to-intermediate/?couponCode=17.99_UNTIL_20-09
@ethanhooper6680
@ethanhooper6680 4 жыл бұрын
My "Go To" VFX guy loving these tutorials can't wait to see more
@calodie3933
@calodie3933 4 жыл бұрын
The best video that explained how to make bullet holes, seriously.
@PlaythroughExperience
@PlaythroughExperience 2 ай бұрын
Guide still relevant in 2024 :D with latest Unity (2022) updates. Good stuff.
@jaimemedina3351
@jaimemedina3351 3 жыл бұрын
Another high quality, super-informative video. Thank you again for this great stuff. I'm going to check out your courses and will pick one up next week. You've help me considerably as I hone my Unity skills!!!
@etaaramin9361
@etaaramin9361 3 жыл бұрын
There are so many tutorials on vfx, and they're all bad. Even Brackeys! This one, however, left me feeling like I can actually USE the information. Thank you! Excellent work!
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Thanks! ;)
@GymCritical
@GymCritical 4 жыл бұрын
Never a dull moment, nor a bad tutorial from you!
@serj_1264
@serj_1264 4 жыл бұрын
Whoa! Decals are one more reason to move to HDRP. At this point of the game Im working in it's too late to perform such update, no matter how tempted I am to try what you show us. Very cool content like always! And great shoot and impacts effect series. Stay safe and awesome!
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
This Decals were made in URP! :) Wanna see your game when it's ready, I'm curious. Good luck! Thank you, stay well too.
@fernandolener1106
@fernandolener1106 Жыл бұрын
This is pure gold.
@goma8167
@goma8167 4 жыл бұрын
Love your tutorials as always. Thank you for sharing such valuable info, you rock.
@theyakusabenja
@theyakusabenja 3 жыл бұрын
Thanks Gab ! Always awesome Tuto, never redundant, always at least a new tip to improve !
@AspiringHeroGames
@AspiringHeroGames 4 жыл бұрын
Particle systems are cool, but now that I've learned about these from you, these might be a nice replacement for them in some scenarios! Thanks for this tutorial, very helpful!
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
Glad you like them!
@AspiringHeroGames
@AspiringHeroGames 4 жыл бұрын
@@GabrielAguiarProd I've found with the decal that it doesn't show up in Game view, it's only visible in Scene view. Curious if you've had the same issue.
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
I'm having the same issue and can't find a solution. Seems like a unity bug. Still happening in 2020.2. Did you find anything by any chance?
@AspiringHeroGames
@AspiringHeroGames 3 жыл бұрын
@@GabrielAguiarProd It was something in the quality settings iirc. Will check once I get access to that computer again
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
That would be much appreciated. Still can't find the solution -.-
@SebLeCaribou
@SebLeCaribou 3 жыл бұрын
Oh my, I'm just discovering your channel, that's an instant subs! This is going to help a lot with my little project
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Glad to hear it!
@UGPAIDGAMER
@UGPAIDGAMER Жыл бұрын
Love you dude saved my 5 months ❤️ You got an subscriber
@PitiITNet
@PitiITNet 3 жыл бұрын
OMG, you are a star! Love your tutorials. They are extremely useful and unique. Thank you for making them :).
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
You are so welcome! Glad you like them :)
4 жыл бұрын
Thks your tut! It helped me so much :3
@kacper344
@kacper344 3 жыл бұрын
lol whole particle effect using just one sprite :D that shows how powerfull is VFX Graph ;D
@RegenerationOfficial
@RegenerationOfficial Жыл бұрын
2:00 all i needed thx
@taka-el7dk
@taka-el7dk 2 жыл бұрын
Japanese subtitles! I'm happy! I will study!
@RealVergilSparda
@RealVergilSparda 2 жыл бұрын
This really halped me while using roblox studio instead of unity since roblox has a similar partixle system so thank you
@FrostshadowStudios0310
@FrostshadowStudios0310 2 жыл бұрын
If I don't bother with the decals, then I could actually have some hit effects for punches or kicks. That's the plan, anyways. Will try it out and see what happens in the future.
@jmanners
@jmanners 14 күн бұрын
It's strange. Some blocks don't seem to appear on my version, like "Multiply Size Over Life." The Unity docs are also lacking for this feature.
@lunathrael2807
@lunathrael2807 3 жыл бұрын
Thank you, sir! :)
@jelanimckenzie6641
@jelanimckenzie6641 Ай бұрын
can you repurpose this for 2D games? I finished the tutorial and my particles are clipping past my tilemaps on the z axis
@GUSRG
@GUSRG 3 жыл бұрын
Hey man, that's great and works perfectly. But I have a question, how do I avoid making the decal appear over my character, the explosion is close to the character and this apply the decal over my character.
@LesLviv
@LesLviv 4 жыл бұрын
Awesome!
@ujjwalsingh5188
@ujjwalsingh5188 4 жыл бұрын
thankyou it helping us.
@MarcBasilRichmond
@MarcBasilRichmond 3 жыл бұрын
Very useful tutorials! Thanks a lot for making these! One question though: There seems to be a distance from the camera where the decal is just not rendered. This seems to be linked to the "Set Size". Is there any way to adjust this distance value? At the moment I would have to be right up against a wall to see a normal sized bullet hole decal, which is almost useless. Any help would be greatly appreciated
@BugaMarco
@BugaMarco 4 жыл бұрын
Are you going to do some tutorials on pixel art games effects? Love your videos btw!
@r.iyushofficial5318
@r.iyushofficial5318 4 жыл бұрын
#Awesome_Toturial 👌
@tevl3551
@tevl3551 3 жыл бұрын
Anyone know how to change the shape of the final vfx burn mark particle to something like a sphere? It seems like a cylinder with the forward decal output. Which works for ground after rotating it, but if I hit a wall it becomes a square. I tried the cross technique from before, and it shows correctly on both sides, but now it shows the squares on both sides too. Could there alternatively be a way to only render overlapping parts?
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Hmm I don't think the solution is in VFX Graph. Once you got the decal working with the ground, the rest is solved via a script. For example, by aligning the impact prefab with the normals of the colliding object.
@tevl3551
@tevl3551 3 жыл бұрын
@@GabrielAguiarProd Wow fast reply. Alright I'll try using the script method, thanks!
@TripleZmediA
@TripleZmediA 2 жыл бұрын
Yeah that's the problem with this method, you still need code to rotate the gameobject, which is not ideal....
@d3zar
@d3zar 3 жыл бұрын
when i import vfx graph; Shader error in 'Hidden/VFX/Hit_Effect/System/Output Particle Quad': redefinition of 'PackHeightmap' at Stacks/Library/PackageCache/com.unity.render-pipelines.core@10.4.0/ShaderLibrary/Common.hlsl(1197) (on d3d11) i took this and doesn't simulate the effect on scene. How do i can fix that
@WahajPlayz20
@WahajPlayz20 6 ай бұрын
how to enable the glowing
@serj_1264
@serj_1264 4 жыл бұрын
I forgot to say thanks!
@theFishy_
@theFishy_ 3 жыл бұрын
IDK if you could help me but, i tried using it in my project and for some reason whenever i shoot from different face that isnt the top one the black hit effect shows up in a rectangle form instead of circle. what i mean is. when i shot from top the black shape is circular like you show in the video, but when i shoot in the wall it becomes rectangular. Do you know hot to fix it? and if you could could you answer fast? i need it for a game jam. thanks! :)
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
You need to rotate the instantiated vfxgraph so it aligns with the Normals. VFX Graph doesn't know which face it hit. It's always going to have the same rotation if you don't align it with normals of the colliding face for example. Hope this points you in the right direction.
@hernanalfaro3949
@hernanalfaro3949 Жыл бұрын
Is this way cheaper than using a decal projector?
@Emptrix
@Emptrix 2 жыл бұрын
Hi Gabriel, truly appreciate your tutorials on the visual effects graph. I'm trying to figure out how to check the vfx graph's status via code, e.g (for particle systems they have isAlive / isEmitting) but it seems Visual Effects Graph does not have similar accessible functions? Should I be assigning callbacks/event triggers instead? And if so which functions do I access in visualeffects class? Thanks!
@nvnobu
@nvnobu 3 жыл бұрын
This is a very helpful tutorial but when I put in my vfx a teapot logo pops up in the way of my effect. Is there a way to get rid of this
@nvnobu
@nvnobu 3 жыл бұрын
I figured it out. You have to turn down 3D Icons under Gizmos
@idle.observer
@idle.observer Жыл бұрын
Hi Gabriel, first of all thank you for that wonderful content! As a developer who hates particle system in unity. VFX seems like a magic to me. And it is fun! But I have a question about the decal part. My game is 2d side scroll. I couldn't render decal, is 3D objects are a requirement to achieve this?
@islingrelda
@islingrelda 3 жыл бұрын
Hi there, is there a way to disable the vfx decals for specific meshes, like with decal layers?
@askingyou4life
@askingyou4life 3 жыл бұрын
hi have video of the creation of the 3 running guys?
@AzeS_YT
@AzeS_YT 4 жыл бұрын
Greetings from Germany. can you make more Shader Tutorials Like interactive Water or Something Else. and i Love your Tutorial
@krilleks7876
@krilleks7876 3 жыл бұрын
How can I make a circle motion?
@fley789
@fley789 3 жыл бұрын
The last DECAL effect is not displayed in Game View. Is there a solution?
@АлександрЯчменев-о7у
@АлександрЯчменев-о7у 19 күн бұрын
did you find a solution?
@Mikelica69
@Mikelica69 4 жыл бұрын
Thanks !
@turtlecrumpet8824
@turtlecrumpet8824 4 жыл бұрын
Heya! Any ideas on how to have the decals interact only with the ground? Atm they are clipping against any unit that stands near them :)
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
Yeah you can choose to interact only with a certain layer I believe.
@DayDreamer4011
@DayDreamer4011 3 жыл бұрын
Amazing video! I have one question though, how would you go about using the effect within your game? Could you just export it straight into an existing game you have built which uses the 3D template? Apologies, I'm quite new to Unity :P.
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
This only works in URP and HDRP. The 3D template wouldn't fit. You need VFX Graph and Shader Graph. I recommend starting with the URP or HDRP template via the Unity Hub as it is much easier to get things working out of the box.
@DayDreamer4011
@DayDreamer4011 3 жыл бұрын
@@GabrielAguiarProd thanks for the reply!
@thiskidcalledtom
@thiskidcalledtom 3 жыл бұрын
Me again! The black decal on the floor doesnt work for me :( It doesnt render hardly. if i increase the set size it'll render within a given area, but it also follows where my camera is pointing. Setting it to world space makes it not render at all. So im unsure on what needs to be done :(
@АлександрЯчменев-о7у
@АлександрЯчменев-о7у 19 күн бұрын
did you find a solution?
@louislemur
@louislemur 3 жыл бұрын
hey man, unfortunatyl it doesnt work on probuilder walls? there just gets created the impact effect and the decal is just orange square please help I'm desperate
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Does it work on the ground? Maybe in the walls you just need to rotate it so it faces the wall?
@louislemur
@louislemur 3 жыл бұрын
@@GabrielAguiarProd thanks for your response yes it works on the ground that's why I'm so confused
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
@@louislemur VFX Graph doesn’t know if it’s a ground or a wall. So you need to tell it, how? By rotating it so it faces the normals of the surface it hit. You can do it via a script. Search for align with the normals. Hope this points you in the right direction. Cheers
@louislemur
@louislemur 3 жыл бұрын
@@GabrielAguiarProd thanks bro i will try that have a good one
@Eu_Claire
@Eu_Claire 3 жыл бұрын
hello, I've tried mixing them using this tutorial *Combine Projectiles, Muzzles and Hits with this video: but my impacts decal doesn't shows and sometimes when it show it's square. I've already tried rotating the decal still no luck.
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
That's because VFX Graph doesn’t know if it’s a ground or a wall. So you need to tell it, how? By rotating it so it faces the normals of the surface it hit. You can do it via a script. Search for align object forward with normals. But first make sure it works fine in a flat 90º surface. Hope this points you in the right direction.
@Eu_Claire
@Eu_Claire 3 жыл бұрын
Hello, I've tried changing the rotation, it's circle on front but square on sides and vice versa when rotation is switched. also about the ground and wall tags, do I need to make 2 kind impact effects for that or script will do? if script how can i rotate it? sorry for the question I've just started trying scripts. if(col.gameObject.tag == "Wall") { var impact = Instantiate(impactEffPrefab, col.contacts[0].point, Quaternion.identity) as GameObject; Destroy(impact, 2); } if (col.gameObject.tag == "Ground") { var impact = Instantiate(impactEffPrefab, col.contacts[0].point, Quaternion.identity) as GameObject; Destroy(impact, 2); }
@Eu_Claire
@Eu_Claire 3 жыл бұрын
@@GabrielAguiarProd Sorry I've changed it to this, while it shows as circle now on Scene mode, it doesn't show correctlt or sometimes no vfx at all on Play mode. public class ProjectileMG : MonoBehaviour { public GameObject impactEffPrefab; private bool collided; ContactPoint contact; Quaternion rot; Vector3 pos; void OnCollisionEnter(Collision col) { if (col.gameObject.tag != "Bullet" && col.gameObject.tag != "Player" && !collided) { collided = true; contact = col.contacts[0]; rot = Quaternion.FromToRotation(Vector3.up, contact.normal); pos = contact.point; if(col.gameObject.tag == "Wall") { var impact = Instantiate(impactEffPrefab, pos, rot) as GameObject; Destroy(impact, 2); } if (col.gameObject.tag == "Ground") { var impact = Instantiate(impactEffPrefab, pos, rot) as GameObject; Destroy(impact, 2); } Destroy(gameObject); } } }
@1001Bastiano
@1001Bastiano Жыл бұрын
So, I just followed this tutorial and that was super easy to do, loved it. The issue I noticed and am having is that it seems to initialise all of the particles lower than the the world location of the object. I *can* fix this by adding set position node to each system, but I'm working on a game project and that feels very messy in the long run. For something like this where you want it to spawn where the shot impacted exactly, having them off centre is not ideal. If anyone might know what is going on with this, please let me know
@deltasprey8784
@deltasprey8784 11 ай бұрын
In ALL of the Initialize Particle blocks, expand the Bounds option and set the Center to 0, 0, 0.
@metaller1875
@metaller1875 3 жыл бұрын
This is awesome! I have a question that no matter how much I searched, I did not find a definite answer. Are effects like this optimal for mobile? Is vfx graph optimal for Android?
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
VFX Graph is currently not production ready for mobiles. Yet. But it will be.
@metaller1875
@metaller1875 3 жыл бұрын
@@GabrielAguiarProd Thanks for your answer🙏
@Kahlipso
@Kahlipso 3 жыл бұрын
why is the decal a square on walls for me?
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Rotate it until you no longer see the square.
@readyforlol
@readyforlol 3 жыл бұрын
(late to the party, sorry, still replying in case someone else has the same question) Decals are projections of your textures. If your texture is circular, it'll project the circle on everything below the decal. That means it'll practically paint meshes in a cylindrical volume with your texture. If your decal is set to project a circle on the floor, it will show as a rectangle on walls, like a slice of a cylinder. To make it work on any surface angle, you must align the decal to the surface's normal.
@jocadel4635
@jocadel4635 4 жыл бұрын
Pls make a course on udemy with VFX graph!!! I love your particles Effects!
@GabrielAguiarProd
@GabrielAguiarProd 4 жыл бұрын
There's a new VFX Graph course arriving "soon".
@jocadel4635
@jocadel4635 4 жыл бұрын
@@GabrielAguiarProd Nice¡¡¡¡¡
@rexbefall99
@rexbefall99 3 жыл бұрын
Do these work for 2D too?
@GabrielAguiarProd
@GabrielAguiarProd 3 жыл бұрын
Yeah, you just need to rotate them accordingly
@rexbefall99
@rexbefall99 3 жыл бұрын
@@GabrielAguiarProd great thanks for replying :)
@krumss
@krumss 2 жыл бұрын
are these applicable in 2d games
@GabrielAguiarProd
@GabrielAguiarProd 2 жыл бұрын
Yes they can be. But VFX Graph isn't recommended for mobiles, if that's your focus.
@rebekkamejlby5379
@rebekkamejlby5379 4 жыл бұрын
PLEASE MAKE A PROJECTILE !!! :D
@joshrichards1131
@joshrichards1131 2 жыл бұрын
Hello
@maxhuk
@maxhuk 2 жыл бұрын
Thanks!
Unity VFX - Ground Cracks | Fissure | Hole Effect Tutorial
16:38
Gabriel Aguiar Prod.
Рет қаралды 112 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 14 МЛН
Grok and xAI API with Glowbom's Glowby. Tweet.
2:10
EASY EXPLOSIONS in Unity - Particle System vs VFX Graph
12:33
Gabriel Aguiar Prod.
Рет қаралды 56 М.
Realtime Unity VFX Tutorial: The 3 Core Elements You NEED To Know
11:01
Stylized Station
Рет қаралды 132 М.
Everything to know about the PARTICLE SYSTEM
10:08
Brackeys
Рет қаралды 1 МЛН
Unity VFX Graph - Loot Drop Effect Tutorial
22:51
Gabriel Aguiar Prod.
Рет қаралды 48 М.
I Tried MidJourney to create 2D Assets for Game in Unity
12:48
Binary Lunar
Рет қаралды 230 М.
Unity VFX Graph - Sword Slash Tutorial
16:17
Gabriel Aguiar Prod.
Рет қаралды 140 М.
Unity Shader Graph - Stylized Trails Tutorial
17:32
Gabriel Aguiar Prod.
Рет қаралды 231 М.
Unity Shader Graph VFX - Bubble Shield (Tutorial)
19:19
A Bit Of Game Dev
Рет қаралды 70 М.
I Remade Avatar Water VFX in 100 Hours
11:38
ErikDoesVFX
Рет қаралды 2,3 МЛН