Line Trace Tutorial - Unreal Engine 5 (FPS)

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • 💡 Download The FREE GameDev Tools Here: 👉 buvesa.com/free
    ✔️ Free GameDev E-book
    ✔️ Free Game Design Document
    ✔️ Free Platformer Course (UE5)
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    🏆 Join My Premium UE5 Course (The Unreal Vault) 🏆
    👉 Link: buvesa.com/course
    🗸 Full GameDev proces
    🗸 Level design
    🗸 Boss Fights
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    📱 SOCIALS 📱
    RUclips ► / @buvesagamedevelopment
    Instagram ► / buvesagamedevelopment
    TikTok ► / buvesagamedevelopment
    Twitter ► / buvesa
    Itch.io ► buvesagamedevelopment.itch.io
    🔔 Subscribe! 🔔
    Subscribe ► / @buvesagamedevelopment
    ☝️ In this unreal engine 5 tutorial i will show you a line trace by channel tutorial. We will hit actors with the line trace beginning and end point inside of our fps game. This line trace is great for detecting and shooting enemies in shooter games or to hit collisions.
    #unrealengine #ue5 #gamedev

Комментарии • 39

  • @KonsolenGames
    @KonsolenGames Год назад +5

    Your clear and stright to the point approach is such a relief coming from all this tutorials where people spend 1 hour just wasting ur time with 5 min actual useful input.

  • @yarkiss2889
    @yarkiss2889 Год назад +2

    Amazing ,this way its so clean and simple no additional nodes like I saw in other tutorials, you Sir have my respect. Keep up the great work!

  • @youdontneedthisinfolol5883
    @youdontneedthisinfolol5883 7 месяцев назад

    Love your voice over. Its really comforting!

  • @SimpleBeings
    @SimpleBeings Год назад +1

    concise and straight to the point, thanks for a great tutorial

  • @wolfiedgr8t
    @wolfiedgr8t 2 года назад +1

    Nice, can't wait for the next video 👍

  • @nicholastheodorou7729
    @nicholastheodorou7729 2 года назад +2

    Nice amazing work man you are one of the best

  • @pauliuskatinas2810
    @pauliuskatinas2810 3 месяца назад

    you can also split the struct pin in line trace to not need the break hit node

  • @XinnDev_ANS
    @XinnDev_ANS 8 месяцев назад

    OMG THANK U SO MUCH I BEEN LOOKIN FOR A TUTORIAL ON DIS

  • @viniciusnoyoutube
    @viniciusnoyoutube Год назад

    Excellent tutorial, great job!

  • @bamfyu
    @bamfyu Год назад

    This tutorial is bamfyu approved lol.
    Easy to follow and not time consuming.
    Good job :)

  • @Smile........
    @Smile........ 2 месяца назад +1

    Thank you!

  • @johnrex7108
    @johnrex7108 6 месяцев назад

    Great video, you earned yourself a subscriber, sir.

  • @Picaxe45
    @Picaxe45 Год назад

    from this, how can i add a OnClickedEvent (i use a canvas with a white dot in the center and i want to use is a lock mouse cursor) but with this i want it to be interactible with button (by pressing on them with the line trace) is it possible ?

  • @K4l0BB
    @K4l0BB 4 месяца назад +1

    Thank you, soo good

    • @K4l0BB
      @K4l0BB 4 месяца назад

      (i dont commented more things why i dont speak english soo good, sorry)

  • @lemetamax
    @lemetamax 11 месяцев назад +4

    0:05 Why don't you wanna shoot with your balls?😅
    Jk, nice tutorial

  • @artdrawing6682
    @artdrawing6682 9 месяцев назад

    amazing explain kip going i follow you

  • @HalValla01
    @HalValla01 9 месяцев назад

    Blueprint Runtime Error: "Accessed None trying to read property player_character". Node: Line Trace By Channel Graph: EventGraph Function: Execute Ubergraph BP First Person Player Controller Blueprint: BP_FirstPersonPlayerController
    I'm doing the same as you but from the player controller class (I have an event being fired from a keyboard button press, so same idea), for some reason it's not accessing the first person character at runtime? Any idea why?

  • @kendarr
    @kendarr Год назад

    Hit actor is not working for me for some reason. EDIT: I just reseted editor preferences and the engine it self, and that fixed it lol

  • @LambVisionStudios
    @LambVisionStudios Год назад

    I dont have BP_Rifle its pickup rifle and it doesnt look the same

  • @daboshi
    @daboshi Год назад +3

    Where do you find bp_rifle? I only have BP_Pickup_Rifle and it doesn’t have the same code.

  • @nickbubuioc
    @nickbubuioc 2 года назад +1

    your tutorials are amazing , how can i pot different amount of damage depending on the weapon i am using ?

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  2 года назад

      Thx! I use a different blueprint for each weapon and put the damage output in a variable.

  • @zlatty88
    @zlatty88 4 месяца назад

    My line trace shoots out of my character into a corner skybox?.... I've been trying to figure this out forever. I'm in a first person view setup in third person game style but I think this was happening before I switched to third person gamemode. I just want first person interaction to work.

  • @Overdrve-mg3xu
    @Overdrve-mg3xu Год назад

    I cannot figure out how to get a Create Event node with a "Signature" like the one you have at 0:36. How do you make that? All I get is a regular Create Event node with the object reference and an event delegate.

    • @Overdrve-mg3xu
      @Overdrve-mg3xu Год назад

      In case anyone else is having this issue I figured it out: You can only get the Create Event function with the Signature dropdown by clicking and dragging out from the Event node on the Bind Events to On Use Item function.

  • @nopyronoparty9786
    @nopyronoparty9786 Год назад +1

    I have a problem. My line trace by chanel is aiming backwards and i don't know how to fix it?

    • @krysc96
      @krysc96 Год назад

      I came to comment the same thing and i know why: the forward vector in world location is the X axis, meaning your line trace only follows the x axis. If you are going sideways or to the negative x, the trace doesnt follow, but i dont know how to fix it yet

  • @madeeasy7148
    @madeeasy7148 Год назад

    This is great thank you, but its not very accurate because the bullet(trace) is slightly higher than the gun, so if you have a reticle then this wont work

  • @heavybaguette
    @heavybaguette Год назад +1

    Thank You ! ( Its SIMS music ? ^_^)

  • @AresWorlds
    @AresWorlds Год назад

    How can i hide this line trace i don't wanna see this red line trace when player play the game

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад +1

      Set debug type of the line trace back to none

    • @AresWorlds
      @AresWorlds Год назад +1

      @@BuvesaGameDevelopment thxx so much i fixed the issue

  • @cheeze7910
    @cheeze7910 Год назад

    its not hitting in the middle?

    • @cheeze7910
      @cheeze7910 Год назад

      it is shooting of to the side when you fire a a bit of a distance, say, 2+ meters

    • @cheeze7910
      @cheeze7910 Год назад +1

      it works now I just forgo to have the add node in there. great tutorial!

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад

      Great! Glad you found it ;)