HOW TO MAKE PARTICLES FOLLOW A PATH in Unity

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 72

  • @GabrielAguiarProd
    @GabrielAguiarProd  2 роки тому +1

    This is such an useful technique for any game! Hope you guys like it!
    Oh and check out this Stylized Explosion Course: www.udemy.com/course/visual-effects-for-games-in-unity-stylized-explosion/?couponCode=17.99_UNTIL_20-09

  • @seanloughran6714
    @seanloughran6714 2 роки тому +18

    I have been using UNITY for over 6 years and never knew you could change the icon! Love these tutorials, I always see new tips and tricks like this!

  • @SWFGaming
    @SWFGaming 2 роки тому +3

    This tutorial was short and sweet, and amazing! I knew about the property binder, but I never knew you could make paths this easily, thanks!

  • @MusicalGeniusBar
    @MusicalGeniusBar 2 роки тому +1

    I should go to sleep, it’s 3 in the morning but I can’t stop watching this channel!!!

  • @brandonjacksoon
    @brandonjacksoon 2 роки тому +5

    Thank you, Gabriel!

  • @djt3rrv875
    @djt3rrv875 2 роки тому +1

    Bruh how do you do it?! Hit after hit with these tutorials dude!!! Really appreciate your work bringing all this knowledge to us!!!! Unity should hire you rather than just sponsoring you lol (if you don't already work there)
    Thanks for another fire 🔥 vid!!!

  • @Icewind007
    @Icewind007 Рік тому

    Sebastian is a wizard. His content breaks my mind.

  • @hamuArt
    @hamuArt 2 роки тому +10

    This bezier path generator uses too many allocations which makes a lot of memory garbage general and therefore starts working on the garbage collector, which results in frequent peaks.
    The solution is to cache the path data.
    This is interesting in VR where every little optimization is useful.

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 роки тому +2

      That's is a very interesting tip! Thanks for sharing.

  • @user-em9su3dd9y
    @user-em9su3dd9y 2 роки тому +1

    Awesome, awesome - thanks!

  • @orthovasky
    @orthovasky 2 роки тому

    O Brabo tem nome!

  • @gutopereira1921
    @gutopereira1921 Рік тому +2

    I´m trying to make the particles follow the bèzier path and the emitter stay in place with the VFX Graph, any ideas?

  • @abhiroopkar202
    @abhiroopkar202 2 роки тому +2

    Really helpful thanks

  • @avetiszakharyan
    @avetiszakharyan 2 роки тому +2

    Bezier is a curve that is defined by 4 points only. If you want many points, that would be a B-Spline, but I don't know if VFX graph has such module. My guess is due to nature of it being GPU side computation, it probably does not.

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 роки тому

      Interesting. Well B-Spline is not yet in the menu, but it would be awesome to have them in VFX Graph.

  • @gimbapmaru
    @gimbapmaru 2 роки тому +2

    really good

  • @emanueltejadacoste2250
    @emanueltejadacoste2250 2 роки тому +2

    The best of the best

  • @koam2410
    @koam2410 2 роки тому +1

    Wow i love it

  • @gaidormine
    @gaidormine 2 роки тому +2

    Incrível tutorial, parabenss!!

  • @balenwalker8209
    @balenwalker8209 11 місяців тому

    Hi, I was wanting to know if you had any other way to get the particles to follow along the path for their entire lifetime, and not have them left behind as the system moved. I know the second method is pretty much what im asking for, but the limitation with the amount of points and not having bezier handles really limits what you can do. For the smoke you did it works fantastic, but for any path more defined, I can't see how it is done. I mostly just want a bunch of particles to follow a path and take a few sharp turns along the way, and have a constant flow of them from start to end.

  • @minipisa7595
    @minipisa7595 Рік тому

    Right at the end of the video at 12:15 you have a light with particles following. Is there a tutorial on this? I've been trying to achieve exactly that for hours and haven't come close!

  • @CAESAR_IS_GOD_mohammadisaloser
    @CAESAR_IS_GOD_mohammadisaloser 2 роки тому

    why does path creator not show up when typing in search in add component? I imported it into the project ?? In the editor folder the Path Creator script has a puzzle piece icon ??

  • @snowandl4195
    @snowandl4195 2 роки тому +1

    Hello Gabriel , Can you make a tutorial about niagara system in unreal engine ?

  • @enchantgames_
    @enchantgames_ Рік тому

    I couldn't understand how to make a particle moves to a path, setting the end of a path as a transform position of another object withouting using VFX. is it possible?

  • @어리어릿어리
    @어리어릿어리 2 роки тому

    i love this

  • @Mamori3D
    @Mamori3D 2 роки тому

    Hey mate I'm doing everything right on the second method, I wanted to know if there's a way of managing the spread along the spline and also the speed the particles travel along it?

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 роки тому

      Spread is very much likely in the Particle System or via code. Particle travelling speed, same, either in the Particle System or via code.

  • @nirharpaz1
    @nirharpaz1 Рік тому

    thank you very much
    Is there a way to use it to create "stop stations" or to monitor whether the follower reached a given point?
    for instance if you want to create an animated quiz, game with stops and so on, you wouldn't want the follower to go through the entire path, and idealy you don;t want to create a different path to every part.

    • @GabrielAguiarProd
      @GabrielAguiarProd  Рік тому

      Probably needs some code. A few colliders set to trigger, and a few if statements and booleans should do it.

    • @alexthompson8977
      @alexthompson8977 Рік тому

      @@GabrielAguiarProd is there a way to invert the path and detect when it's been completed? I'm making a turn based game so any attack I make I want it to lock on to the correct target and for it to work with both players and enemies

  • @solitudeau8188
    @solitudeau8188 Рік тому

    Would it be possible to set the end position for either method to the position of another game object? because that would be cool

  • @bhavingajjar4535
    @bhavingajjar4535 Рік тому

    Can we import curve from maya and use for this ?

  • @IvaReal
    @IvaReal Рік тому

    How did you do so that the ice spikes stop a second before starting the path again, if i set the path on "Stop" the spikes just start emerging from the last point on the path, in your case, it knows its on the end of the path and it sort of deactivates, how do yo do that, please answer me, i have been watching all your videos searching a way to bypass this problem for months now and cant find a solution anywhere.

    • @IvaReal
      @IvaReal Рік тому

      would you look at that just solved it 5 minutes later, i just had to use a loop and delay node on the spawn system of the vfx graph and make so that its only one loop count and add the loop duration to my attack's duration and voila.

  • @dinesco159
    @dinesco159 2 роки тому +1

    nice

  • @kirankumar3114
    @kirankumar3114 Рік тому

    I am using the second method. Could anyone tell me how to link more than 3 points in the path of the smoke?

  • @redsprites5216
    @redsprites5216 2 роки тому

    Is there any way to not make it follow the Bezier curve perfectly on the VFX graph?

  • @manuelalonso415
    @manuelalonso415 2 роки тому

    Hi Gabriel! I'm having problems with the "Soft Particles" check. When enable it, the particles dissapear. I'm using URP, I have checked "Depth Texture" on URP asset and set Quality Settings to Ultra... what I may be doing wrong?

    • @manuelalonso415
      @manuelalonso415 2 роки тому

      I'm using Unity version 2021.1

    • @manuelalonso415
      @manuelalonso415 2 роки тому +1

      I just solve it. I was using the 2D Renderer Pipeline Aset instead of the Forward Renderer one

  • @muhdkhairin7375
    @muhdkhairin7375 2 роки тому

    Hi if I subscribe to your patreon to download your assets, would I be able to use them in my own projects? Thanks

  • @pnvgordinho
    @pnvgordinho 2 роки тому +2

    Porreiro.
    Acho que também podias usar uma ferramenta do cinemachine para criar o caminho.
    É triste a Unity não ter de raiz uma coisa tão simples como criar caminhos. Temos que usar ferramentas que outros criaram ou desenrascar com a do cinemachine.

  • @Mryomannen
    @Mryomannen 2 роки тому

    Hi around 6:11 you can see when the path resets, the particles moves straight towards the starting position. Would you know a solution for this?

    • @IvaReal
      @IvaReal Рік тому

      On the path follower script put the stop option instead of the loop option

  • @어리어릿어리
    @어리어릿어리 2 роки тому

    Can unity vfx graph make a nuclear bomb effect?(Realistic mushroom clouds.)

  • @placeholder4289
    @placeholder4289 Рік тому

    does this work for 2D? The follow path at 5:50 is what im mainly talking about.

    • @GabrielAguiarProd
      @GabrielAguiarProd  Рік тому

      I believe it should work without a problem, it would be mostly done in X and Y axis.

  • @Anteupplaya
    @Anteupplaya 3 місяці тому

    why would the first method not work for recent unity im using 2022.3.22

    • @AmoghJoshi-qt9zp
      @AmoghJoshi-qt9zp 2 місяці тому

      I have the same issue. Getting a bunch of errors on the console.

  • @Dedemonn1
    @Dedemonn1 2 роки тому

    Is it also easy to create that path follower from script?

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 роки тому

      Not sure, but it's free and it's really solid, why reinvent the wheel? :P

  • @王璐璐-e4c
    @王璐璐-e4c Рік тому

    How to rotate counterclockwise

  • @arkitektorigins3279
    @arkitektorigins3279 Рік тому

    my guy, why do you make the particle effects that I need to learn how to do (because I can't figure out how to rotate or align the particles to the ground) in the preview but only tell us how to do really simple stuff that anybody could do better with default provided stuff?

    • @GabrielAguiarProd
      @GabrielAguiarProd  Рік тому

      The ice attack is from this video: ua-cam.com/video/gfOaGvNQ28U/v-deo.html

  • @williamfoucher2906
    @williamfoucher2906 2 роки тому

    I have not yet watched the vidéo but is it possible to make it relative to an objet or is it like Itween where the path is "define" and you can't change its location

    • @trashcaster
      @trashcaster 2 роки тому

      I believe the paths are relative to the object that owns the path, so if you want to move where the path origin is, jut move that object.

    • @GabrielAguiarProd
      @GabrielAguiarProd  2 роки тому

      If I understand your question right, yes it's possible to make it relative to an object. Just attach the path to the object in question.

    • @williamfoucher2906
      @williamfoucher2906 2 роки тому

      thanks for your responses

  • @luckylukas2282
    @luckylukas2282 Рік тому

    This doesn't work in Unity 2019. VFX Graph genie lamp looking thing that shows up in the Scene doesn't emit anything, at all, ever.

  • @OneZ_vlr
    @OneZ_vlr 2 роки тому

    *Es tuga ne?*

  • @gamedevdemonold
    @gamedevdemonold 2 роки тому +1

    First