Unreal Engine 4 - Line Trace Basics

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • In this video we look at using line traces and talk about what useful purposes they can serve.
    If you have any questions or comments please let us know. If you like the video and want to see more, go ahead and subscribe. Or consider supporting us on patreon / titanicgames for more great tutorials and games to come!

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

  • @conanthanoz19
    @conanthanoz19 7 ปีที่แล้ว +6

    Just going to mirror what J Jackson said - this video is without question the best tutorial ever on this topic - soooo good for people that are a bit shaky on BP fundamentals that want a nice jump-start. However, it would be nice if you'd organize this in a play list with the other Line Trace videos you have like the "Line Trace Add Effects" and the "Line Trace damage" thing.

  • @Mr.Fishward
    @Mr.Fishward ปีที่แล้ว

    Thank you! I was having issues with the line actually originiating from my camera. Even though I am doing the same thing in C++, this helped me so much!

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

    Thanks A Lot, Very Helpful And Useful, For Those Beginning, You Want To Shoot The Vector Forward From Target That Has Red Axis Arrow Facing Towards Forward Direction

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

    Thank you very much.

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

    thank you bro i forgot about the multiply and add part couldnt figure out why my shots were shooting at the floor to the left lol rookie mistakes were made

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

    when u want to make it ignore an object in the world how do u get a referance to it to add to the ignored array?

  • @Will-bn9km
    @Will-bn9km 7 ปีที่แล้ว +4

    Hey Titanic Games, do you know how to implement Line Tracing into Third Person Shooters for example?

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

      Hi there. It's quite simple really. Either do the same exact thing but using your character's third person camera. Or you can create a socket on the weapons your character uses that you can use to start the line trace from.

    • @Will-bn9km
      @Will-bn9km 7 ปีที่แล้ว

      Titanic Games Ah, makes sense, I'll try do that. Also, are you planning on making a Start Menu tutorial video or maybe a tutorial on how to transition from Third Person to First Person, like for example in a shooter game you can switch between third and first person. Sorry if I'm asking of too much of you by the way.

    • @titanicgames4785
      @titanicgames4785  7 ปีที่แล้ว

      These are all things I am planning to do in the future and will get around to as time allows.

    • @Will-bn9km
      @Will-bn9km 7 ปีที่แล้ว

      Titanic Games Okay, can't wait for more content man.

  • @wavelogic8471
    @wavelogic8471 5 ปีที่แล้ว

    This works great for first person, no so much for third person.

  • @milan.980
    @milan.980 3 ปีที่แล้ว

    Thanks :D

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

    How do you recycle a trace? .. Dont trace for objects... Just trace.. And figure that out from hit result... If your in combat trace based on direction of analogue stick...if your outside combat.. Sweep it quickly in a circle for wall running... That's how...when you trace in front of you..sweep up and down quickly for height...parkour etc...
    Its a very performance heavy function...
    Epic have told you a million times that traces and get all actors of class are performance heavy...
    If you need to trace from a different location.. Change your start location...
    Basically.. Do sweeps and update the start location... Versus multiple traces...
    Its not difficult to recycle a trace...

  • @PreciseAce
    @PreciseAce 7 ปีที่แล้ว

    could you do a tutorial on the "Random Unit Vector in Cone" node for line tracing? thanks!

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

    Hello, i want enemy leave behind a fire trace. How can i do that. If you can answer would be great. Thanks.

  • @kevn-dz3hs
    @kevn-dz3hs 4 ปีที่แล้ว

    THx

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

    how would i stop my line trace from going through walls? currently it is set to look for a custom trace channel

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

    Does anyone know how to make the lines not appear on the screen? like I want the accuracy of the line tracing without the lines

  • @iamisandisnt
    @iamisandisnt 7 ปีที่แล้ว

    Oh nevermind, look at this. Only 126 view because it doesn't have "RPG" in the title ;) Cheers!