UE4 Niagara Tutorial - Laser and Niagara Parameters - Intro to Niagara UE4/Unreal Engine 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ค. 2024
  • This Video:
    In this video, we create a laser particle effect. Making the effect more dynamic by control the colour and length through a blueprint class.
    Niagara Particles:
    This playlist is dedicated to the Niagara particle system acting as an introduction to some of the basic concepts of creating emitters and systems.
    Consider supporting the channel on Patreon: / devenabled
    Chapters:
    00:00 - Setup Overview
    01:12 - Creating the Laser Emitter
    07:42 - Creating the Laser System
    08:30 - Creating the Impact Emitter
    12:42 - Creating the Impact System
    13:02 - Laser Blueprint
    Links:
    Get a 14-day Skillshare free trial: skl.sh/3tSddhe
    Download free projects from some complete tutorial series and more: mega.nz/#F!imQGFKgR!O0wu4xrnl...
    Join the Dev Enabled Discord: / discord
    Get my new UE4 Beginners course: devenabled.teachable.com/p/in...
    Beginner course now available on Udemy: www.udemy.com/course/unreal-e...
    Gamedev.tv Courses - Affiliate Links:
    Unreal C++ Developer: www.gamedev.tv/p/unreal-engin...
    Unreal Multiplayer: www.gamedev.tv/p/unrealmultip...
    Unreal Blueprints: www.gamedev.tv/p/unreal-bluep...
    Blender Characters: www.gamedev.tv/p/blender-char...
    Get a FREE Pluralsight trial and support the channel: pluralsight.pxf.io/DevEnabled
    My First Pluralsight Course: pluralsight.pxf.io/UnrealBlue...
    My Second Pluralsight Course: pluralsight.pxf.io/UnrealCPPI...
    My Third Pluralsight Course: pluralsight.pxf.io/UnrealFund...
    Check out my Website: devenabled.com/
    Twitter: / robbcreates
    RECOMMENDED READING - Game Theory Books -
    Theory of Fun for Game Design: amzn.to/2Y7a29z (Personal Favourite)
    Game Feel: A Game Designer's Guide to Virtual Sensation: amzn.to/3159Dl5 (Another read I couldn't put down)
    Level Up! The Guide to Great Video Game Design: amzn.to/2MkxcC8
    The Art of Game Design, Second Edition: amzn.to/2JY6EVz
    Rules of Play: Game Design Fundamentals: amzn.to/2YcfsA7
    Game Programming Patterns: amzn.to/2YbXnC2
    Drawing Basics and Video Game Art: amzn.to/2Ml6FVb
    Sound Effects (BFXR): www.bfxr.net/
    Get Affinity Designer: affinity.serif.com/en-gb/
    Get Unreal: www.unrealengine.com/
    Get Some great free assets here: www.gamedevmarket.net/
    #ue4, #unreal_engine, #niagara, #stylized

ความคิดเห็น • 112

  • @DevEnabled
    @DevEnabled  3 ปีที่แล้ว +1

    Get my new UE4 Beginners course: devenabled.teachable.com/p/intro-to-ue4/
    Beginner course now available on Udemy: www.udemy.com/course/unreal-engine-4-ue4-complete-beginners-course/?referralCode=FB8E232D20F4A087F6D5

  • @KazukiP
    @KazukiP 4 หลายเดือนก่อน +20

    For anyone on UE5 stuck at the 6:00 mark:
    I think I worked out how to solve no "+" at User Exposed. As it states, "User Parameters are only supported in System Assets".This means In Unreal 5, you can only do this on Niagra **Systems**, which are the things that hold the emitter. Think of it like a painting and a canvas. We are using a Niagra Emitter and we need our canvas to show our painting on.
    In the explorer, right click on your Niagra emitter and select "create Niagra system" (shown at 7:48) you can then open this and you will be allowed to add user exposed parameters here instead!

    • @TabascoDev
      @TabascoDev 3 หลายเดือนก่อน +2

      thanks a lot. 😀

    • @Youshisu
      @Youshisu 3 หลายเดือนก่อน +2

      yup, much thanks, this should be pinned :D

    • @dustercrew
      @dustercrew หลายเดือนก่อน

      LEGEND

    • @CarisTheGypsy
      @CarisTheGypsy 6 วันที่ผ่านมา

      I love it when they dramatically change things between versions... Thank you for the info!!!! Absolute legend!

  • @aaronsimon5527
    @aaronsimon5527 ปีที่แล้ว +15

    For anyone like me who got stuck at the Line Trace By Channel in UE5 - Drag off the Out Hit node and create a Break Hit Result. This should unblock you from 18 min onwards.

    • @SicrosEye
      @SicrosEye 5 หลายเดือนก่อน +1

      Probably I am too late here but I did it like that, yet no Debug line shows up and nothing is being traced... :/

  • @ChrixB
    @ChrixB 3 ปีที่แล้ว +16

    This is by far the best tutorial on how to expose parameters in Niagara, very detailed and so well done, thanks !

    • @DevEnabled
      @DevEnabled  3 ปีที่แล้ว

      Thank you, glad you liked it.

  • @blobmon786
    @blobmon786 ปีที่แล้ว +33

    For anyone using UE5, if you can't see the laser after adding the Beam Width dw, he adds an update Beam a few mins later that fixes the issue :D

    • @fernandoespinaruiz7277
      @fernandoespinaruiz7277 ปีที่แล้ว +2

      Thank you!!!

    • @PhilipLemon
      @PhilipLemon ปีที่แล้ว +1

      @@fernandoespinaruiz7277 Legend!

    • @PormithipicusProductions
      @PormithipicusProductions ปีที่แล้ว +1

      hey since you seem to understand how the E5 version would work, how do I add stuff at the user exposed, I found the tab thing but it doesn't have a + sign, thank you

    • @blobmon786
      @blobmon786 ปีที่แล้ว +1

      @@PormithipicusProductions unfortunately I dunno how you'd fix that sorry

    • @PormithipicusProductions
      @PormithipicusProductions ปีที่แล้ว

      @@blobmon786 that’s lol roght

  • @vanityvoodoo969
    @vanityvoodoo969 3 ปีที่แล้ว +5

    Finally a Niagara video. Please do more since the only ones are really very minimal ones which you are then forced to join patreon to see the actual tutorial.

    • @DevEnabled
      @DevEnabled  3 ปีที่แล้ว +1

      I hope it was useful. This is part of a small Niagara playlist so you might want to check that out in the channel playlist section.

  • @zwww_ee5235
    @zwww_ee5235 2 ปีที่แล้ว

    Why didn't I discover you sooner TvT Such clear explanation and awesome quality!! Can't wait to see more tutorials from you! Gonna binge watch your channel next semester break~!

  • @wii58739
    @wii58739 2 ปีที่แล้ว +1

    Really awesome, well paced tutorial dude!

  • @keegantompkins9553
    @keegantompkins9553 2 ปีที่แล้ว

    This video teaches ribbons, beams, and exposing parameters to blueprints. Despite all of that content, it is still simple and easy to follow with an amazing end-product to boot! Thank you so much!

  • @sinksinkswim
    @sinksinkswim 2 ปีที่แล้ว

    Great tutorial, was looking for a Niagara laser and a bit of logic to set up the parameters so that I can modify them for my needs and this does the job really well!

  • @alexandrm3073
    @alexandrm3073 2 ปีที่แล้ว

    Wow. Have been looking for such tutorial for a week by now. Thanks a lot!

    • @DevEnabled
      @DevEnabled  2 ปีที่แล้ว

      Happy to hear TH-cam revealed my channel to you after just a week of searching 😂

  • @DavidGWilliams1981
    @DavidGWilliams1981 9 หลายเดือนก่อน

    Excellent tutorial, good speed, and mostly importantly, it actually worked, thanks so much!

  • @etchasketch222
    @etchasketch222 3 ปีที่แล้ว +1

    Awesome tutorial. I needed this a few months ago! Looks great!

    • @DevEnabled
      @DevEnabled  3 ปีที่แล้ว

      Ah, sorry I was a little late. I usually get a comment saying I was looking for this today, but a few months ago is a bit late..

  • @QWERTY-qh9po
    @QWERTY-qh9po 2 ปีที่แล้ว

    Thanks so much for this video! Great into to the niagera system and what it can be used for. Seems way more advance than the classic particle system i was using before.

  • @rupeshmandke
    @rupeshmandke 2 ปีที่แล้ว

    Thanks for this. Very clean explanation.

  • @omerhatay2676
    @omerhatay2676 3 ปีที่แล้ว +1

    So simple and amazing. Thank You Dev Enabled.

  • @ReubenAStern
    @ReubenAStern 2 ปีที่แล้ว

    Thanks, I wanted a laser that actually acts like a laser. This niagara laser is way better than my previous one because it looked flat and didn't do as it was told. Your light sabre logic is cool too.

  • @picatsso6721
    @picatsso6721 ปีที่แล้ว +1

    Distance and rotation. What I did: Beam Emitter Setup -> Absolute Beam Start(Check), Beam End (0, 0, 999999) (completely ignoring the variable). This gave me what I wanted - a straight laser beam. Changing other parameters in Beam End will give you different angle.

    • @picatsso6721
      @picatsso6721 ปีที่แล้ว

      But the key thing is that it doesn't work with my volumetric fog. So fok it...

  • @crs11becausecrs10wastaken
    @crs11becausecrs10wastaken 10 หลายเดือนก่อน

    excellent, you've earned my sub.

  • @zakariazeddam1438
    @zakariazeddam1438 2 ปีที่แล้ว

    it was really helpful thank you a lot

  • @lvl90dru1d
    @lvl90dru1d ปีที่แล้ว

    Good job!

  • @faisalee
    @faisalee 3 ปีที่แล้ว

    This is awesome! 👍🏽

  • @jacobtouchstone5280
    @jacobtouchstone5280 ปีที่แล้ว +4

    For whatever reason my laser beam is going off at a 45 degree angle and refuses to work with the line trace. I got everything else working except that. Any idea whats wrong?

  • @pullsar7449
    @pullsar7449 2 ปีที่แล้ว

    Thanks!

  • @GaryParkin
    @GaryParkin 2 ปีที่แล้ว

    Thank you so much for the video! Great into to the Niagara system. Can you please do more on Niagara?

  • @charliemason7085
    @charliemason7085 2 ปีที่แล้ว +1

    Very awesome video this helped me out big time with my uni course work, is there anything u would suggest to get this reflecting off items, I've managed to do it with a debug line but its a bit different with the beam?

  • @antonr1194
    @antonr1194 ปีที่แล้ว +1

    on 5.1 use NS insted of NE. It fixes the problem when you can't see the laser after adding the Beam Width and that you can't create user parameters

  • @ztormsink5931
    @ztormsink5931 2 ปีที่แล้ว +1

    Good video and easy to follow.
    I'm wondering why the distance (float) does not work regardless of the number a put in and the laser disappear few second after from the world.

  • @ohtontheknight3879
    @ohtontheknight3879 ปีที่แล้ว

    Now i can make my laser mines

  • @sebastianwest828
    @sebastianwest828 2 ปีที่แล้ว

    thx

  • @analysierer9456
    @analysierer9456 2 ปีที่แล้ว +1

    Thank you for the cool video to expose parameters in Niagara :-) If the laser moves very fast, then I have a 1-2 cm long lateral spread. I tried to set the lifetime in the Particle Spawn from 5 to 1, but that makes no difference. And I can't make the laserend smaller, I tried the Sphere Radius, can you give me a tip here?

  • @jaxsun2924
    @jaxsun2924 2 ปีที่แล้ว +1

    Hi, great tutorial btw. But I cannot see my particle in preview window at all. how can I fix this? UE4.26 engine

  • @DronX_
    @DronX_ 2 ปีที่แล้ว

    Awesome.
    Is possible make a flocking system with Niagara? How difficult?

  • @GameDevAraz
    @GameDevAraz 2 ปีที่แล้ว

    Hi Any Reason Why The Beams Would All of A Sudden Start Shooting Anywhere But The Point Of The Line Trace Profiles Impact? Thanks

  • @valentindanclaude2209
    @valentindanclaude2209 2 ปีที่แล้ว

    Thank you for this great tutorial, it's easy to follow. Do you found out a solution, that the laser draws into a different direction editor/ingame?

    • @yuriychemezov
      @yuriychemezov 11 หลายเดือนก่อน

      Did you find answer to this problem?

  • @oskartakac2305
    @oskartakac2305 2 ปีที่แล้ว +1

    How Im curios. Is posible to damge the player and little bit push him with this niagara system ? Thanks for answer

  • @stevenfodor3022
    @stevenfodor3022 2 ปีที่แล้ว

    Hello, i am curious on how it can interact with the player. i set it up the way you shown but my character can just run right through the laser.

  • @GoodguyGastly
    @GoodguyGastly 2 ปีที่แล้ว +1

    I cannot for the life of me figure out Niagra. I'm using UE5 and I even bought a preset lazer beam pack on the marketplace but cant get anything to show up. I get stuck around 3:00 in because I don't have the "view options" twirl down.
    Any help you can offer is awesome. thank you for the tutorial!

  • @aivsdeveloper
    @aivsdeveloper 2 ปีที่แล้ว

    @14:59, how did he get his Niagara Laser Impact variable to be a nice rectangle?

  • @cyphermur9t
    @cyphermur9t 2 ปีที่แล้ว +2

    18:30 The LineTraceByChannel node doesn't have all those options on the right like 'Out Hit Blocking Hit', etc.. It just has 'Out Hit' & 'Return Value'. How did you get those? I'm using UE 4.26.2

    • @DevEnabled
      @DevEnabled  2 ปีที่แล้ว +5

      right-click on the out pin and select split

    • @cyphermur9t
      @cyphermur9t 2 ปีที่แล้ว +2

      @@DevEnabled thanks!

  • @monkeyprime7193
    @monkeyprime7193 2 ปีที่แล้ว +1

    great video but how did u create the 'Distance Node'?

    • @LegitLord2000
      @LegitLord2000 2 ปีที่แล้ว

      Figured it out. When you do the Get Actor Forward Vector, do a Vector * Float node, and create your own Float variable and name it distance and plug it in and your good. Pretty much same with the trace end node.

  • @RMC_
    @RMC_ 9 หลายเดือนก่อน +1

    how did you make the laser able to rotate with the blueprint? Mine is just stuck in the same direction even if I rotate the blueprint.. I went through the tutorial again but I can't see you mentioning it anywhere
    EDIT: I found the solution online. Check the 'Local Space' checkbox in the niagara system

  • @henryqprodllc
    @henryqprodllc ปีที่แล้ว

    How can you add this to animate in Sequencer for UE5?

  • @speedistic899
    @speedistic899 ปีที่แล้ว

    is it possible to check if this laser collides with a player?

  • @frenchoism
    @frenchoism 2 หลายเดือนก่อน

    I've been having issues on how to add damage on laser collision. Niagara does not have event hits on collisions so it seems lime is not possible to do with Niagara but it needs to be hacked somehow. Any ideas?

  • @jh-lp7cg
    @jh-lp7cg 3 ปีที่แล้ว +1

    Hi, thank you for the tutorial. Do you have any idea why my sphere seems to be shooting a white laser 45 degrees off into the atmosphere while I'm in the editor, but when I play or simulate, the laser points in a completely other direction? I can understand the forward vector is the direction the laser fires, but I don't understand why there is one direction in the editor and another direction while playing.

    • @DevEnabled
      @DevEnabled  3 ปีที่แล้ว +1

      Hey, I think you can see that mine is doing the same thing at some point in the recording. So, I'm not 100% sure why it's starting off diagonally in the editor, I'd understand if it was a straight horizontal line as that would be (0,0,0). But in short, it's just because we've set direction to be based on an exposed variable which in the editor hasn't yet been set so it will choose a null or default value. Then remember we're setting this value only during play through our BP.

    • @jh-lp7cg
      @jh-lp7cg 3 ปีที่แล้ว

      @@DevEnabled Thank you.

    • @moutrave
      @moutrave 2 ปีที่แล้ว

      @@jh-lp7cg I've set the LAser beam end parameter to Absolute in the Niagara system and now the beam is not in the right direction in preview but it is when I simulate :D I'll keep digging as well. though this behavior corresponds to what's shown a bit later on the video

  • @liamnelson95TTV
    @liamnelson95TTV ปีที่แล้ว

    How could i change the brightness of the laser?

  • @Entolyfik
    @Entolyfik 5 หลายเดือนก่อน

    Where did he get the TraceByLineChannel setup? (I'm using UE 4.27. I know blueprint settings have been changed since the making of this video). I tried to make it myself, and I cannot get the multi and add floats to connect (vector to float), and that little pin that is off to the bottom, what is that?! I can't even continue, and I want to so bad...how do I get unstuck?

  • @herodev7772
    @herodev7772 ปีที่แล้ว +3

    Hey man thanks a lot for the tutorial!
    I have the particle system working but i have one issue. I am using it as a laser sight, and when my character moves, the laser jitters and shakes horribly. It's like it has trouble remaining in position. It is even worse when the character jumps. Any idea how to fix this, so the laser stays in position smoothly?

    • @blobmon786
      @blobmon786 ปีที่แล้ว

      Hey, did you find a fix for this in the end? :D

    • @Frog423
      @Frog423 ปีที่แล้ว

      I've also got this same problem, have you found a fix yet?

  • @kiseli666
    @kiseli666 11 หลายเดือนก่อน

    Mi colour is always plain white no meter what I do and what color I put in variable. How did you get that nice glowing color? UE 5.2

    • @4ndr3wR
      @4ndr3wR 4 หลายเดือนก่อน +1

      Check Spelling because it has to be perfect. Make sure you set up Color in begin play and choose the color there - try with both and then with them alone and should get both to work. Make sure you chose niagra systems when attaching them to the target in setting color. Make sure they are systems

  • @QWERTY-qh9po
    @QWERTY-qh9po 2 ปีที่แล้ว

    Quick Question in regards to this... so the laser color changes but over the course of a second it whites out and looses color. Any idea why or where to look?

    • @danielnewman1350
      @danielnewman1350 2 ปีที่แล้ว +1

      If you look at the particle count in the preview you'll see that the way he set it up is that he is spawning a bunch of lasers over top of on another. So with the additive material it will change to white after enough layers of particles stack on each other.
      So to fix that go to Emitter State and change Loop behavior to "Once" and Loop duration to "Infinite"
      then in particle update there's a setting to 'let infinitely lived particles die when emitter deactivates'
      So now you're only dealing with one laser beam and you can adjust the color in the blueprint.

    • @QWERTY-qh9po
      @QWERTY-qh9po 2 ปีที่แล้ว

      @@danielnewman1350 Thanks for your response

  • @Immortal_BP
    @Immortal_BP ปีที่แล้ว +1

    none of the parameters worked, like "laserend" or "color", in the details menu it says "override parameters" and when i change the color there then it changes the beams color, same with laserend. im using 5.0.1

  • @robertbowen2075
    @robertbowen2075 2 หลายเดือนก่อน

    Your laser beam is generating light and looks thick and full. I appreciate this video is old but I made a laser with the same settings and it doesn't look like that.

  • @RichardRiegel
    @RichardRiegel 2 ปีที่แล้ว

    Hi all.. what kind of node is that 'distance' named.... (that black node below the two greens) ...in 16:15? I can't find it from options :/

    • @sandras8339
      @sandras8339 2 ปีที่แล้ว +3

      Drag a wire from the B (green circle) and select "Promote to variable" in the dropdown menu. That creates a new variable which you then rename to "Distance". To rename it, go to the "My Blueprints" tab on the left, under "Variables", find the one just created, select it, press F2 and rename it.

    • @RichardRiegel
      @RichardRiegel 2 ปีที่แล้ว +1

      ​@@sandras8339 oh, thank you :)

  • @SuperlativeCG
    @SuperlativeCG ปีที่แล้ว

    How do you make it so that it only start shooting the laser when you press a key and make it stop when you press the key again?

    • @SuperlativeCG
      @SuperlativeCG ปีที่แล้ว

      I figured out how to get it to turn on and off with the press of a key but now when I attach the laser niagara system to an eye socket of a 3rd person character, it shoots straight down to the ground but then rotates up 90 degrees to the same direction of where the eyes are looking which is straight forward. Why is this happening?

    • @SuperlativeCG
      @SuperlativeCG ปีที่แล้ว +1

      OK. I figured out why it's doing that. Apparently, the line trace is starting from the hip.

  • @meliodas2177
    @meliodas2177 3 หลายเดือนก่อน

    running in a whole lot of trouble at the nodes part because in unreal 5 the nodes are totally diffrent.

  • @mbarker_lng
    @mbarker_lng ปีที่แล้ว +1

    Tried this twice in UE 5.03 and nothing. :/ Unsure why.

  • @faddlewaddle2615
    @faddlewaddle2615 ปีที่แล้ว

    Trying to follow through on Unreal 5.1 and that "User Exposed" doesn't allow me to add anything in there. 😞
    It's at that point in the tute that I'd given up.

    • @KazukiP
      @KazukiP 4 หลายเดือนก่อน

      I think I worked out how to solve this. In Unreal 5, you can only do this on Niagra Systems, which are the things that hold the emitter. Think of it like a painting and a canvas. We are using a Niagra Emitter and we need our canvas to show our painting on. In the explorer, right click on your Niagra emitter and select "create Niagra system" (shown at 7:48) you can then open this and you will be allowed to add user exposed parameters here instead!

  • @mo-dev
    @mo-dev ปีที่แล้ว

    apart from the beutiful tutorial, how come your Ue4 looks like Ue5 with the blueprints and such?

    • @DevEnabled
      @DevEnabled  ปีที่แล้ว

      flattery will get you answers. Google Minimal UI for UE4. It should be one of the first git repositories.

    • @mo-dev
      @mo-dev ปีที่แล้ว

      @@DevEnabled Amazing! Thank u!

  • @PhilipLemon
    @PhilipLemon ปีที่แล้ว

    In UE 5.1 there is no User Exposed parameters showing as they are in 6:18.

    • @KazukiP
      @KazukiP 4 หลายเดือนก่อน

      yes also stuck on this!

    • @KazukiP
      @KazukiP 4 หลายเดือนก่อน

      I think I worked out how to solve this. In Unreal 5, you can only do this on Niagra Systems, which are the things that hold the emitter. Think of it like a painting and a canvas. We are using a Niagra Emitter and we need our canvas to show our painting on. In the explorer, right click on your Niagra emitter and select "create Niagra system" (shown at 7:48) you can then open this and you will be allowed to add user exposed parameters here instead!

  • @iliasiosifidis4532
    @iliasiosifidis4532 9 หลายเดือนก่อน

    cant find the "logic" that you copy pasted, also cant make the laser turn like in the intro

  • @LegitLord2000
    @LegitLord2000 2 ปีที่แล้ว

    Tried to use a color curve to have multiple colors and screwed myself lol Idk why it won't work omnaggashdfgasdhfgvd I missed the most important step. Setting the color parameter, i'm like omg hours of work and my laser is invisible and won't work

  • @SAYRESS
    @SAYRESS ปีที่แล้ว +1

    well, my LIneTraceByChannel doest have same pins...

    • @SAYRESS
      @SAYRESS ปีที่แล้ว +1

      so if someone have the same problem - just right click pins from right side and you will find a way.

  • @meharislive1
    @meharislive1 3 ปีที่แล้ว

    Hello Sir I Need Your Help in Unreal Engine 4

  • @pawnix4122
    @pawnix4122 ปีที่แล้ว

    Doesn't work for UE 4.27.2. RIP

  • @EvillNooB
    @EvillNooB 22 วันที่ผ่านมา

    this tutorial is kind of confusing, you over explain everything in the beginning(so i thought that it's for complete beginner like me) but in the middle you're like - let me copy paste those 6 nodes real quick

  • @HasimFN
    @HasimFN 10 หลายเดือนก่อน

    youre voice is really low

  • @Zero_hk
    @Zero_hk ปีที่แล้ว

    is there anyway the end of the laser be a simple dot?