Search For Multiple Actors On Event Hit Or Event Begin Overlap - Unreal Engine 4 Tutorial

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

КОМЕНТАРІ • 61

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

    doing a Jam right now and gotta say your channel is so educational, straight to the point with enough explanation that you can apply it to your own code, thank you and keep it up

  • @NinjaThug
    @NinjaThug 3 роки тому

    This fixed an issue for me that took a lot of time, only to fail! Although my logic was correct that I need to choose my "character" for this collision that I am talking about. Thanks again, Matt!

  • @programmerxix7129
    @programmerxix7129 3 роки тому

    FIRRRRST. Opening UE as we speak.

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

    Thanks bro it help me alot

  • @mythjax
    @mythjax 3 роки тому +1

    Thanks for the knowledge man. Any chances of u make a Inventory System Tutorial? I love your teaching method

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

      Yeah i need it too

    • @MattAspland
      @MattAspland  3 роки тому +3

      Happy to help mate, and I can add that one onto my series list to do :)

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

      @@MattAspland Nice bro! Tks again and keep going :D

  • @z-e-t-aanimations8823
    @z-e-t-aanimations8823 3 роки тому +1

    Your tuts are soooo useful man!

  • @MrOverDroid
    @MrOverDroid 3 роки тому

    Damn... the solution were right there... right under my nose ! hahaha
    Thank you very much!

  • @stevenwynn819
    @stevenwynn819 3 роки тому

    Good explanation of the cast node.

    • @MattAspland
      @MattAspland  3 роки тому

      Thanks Steve! Hope you're doing well :)

  • @syberianbeast7796
    @syberianbeast7796 3 роки тому

    You resolve my problems. Thank you bro.

  • @JustAGuyProduction
    @JustAGuyProduction 3 роки тому +1

    2:47 is the part you're all looking for.

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

    Hi, ive set it up like this in my project a couple months ago but i was wondering how expensive this method is.
    If you have like 10 Casts to make to find the correct one, does the Cast stop right away nad go to the next when failing?
    Do you know if it is expensive or not?

    • @krplyr
      @krplyr Місяць тому

      the most important question. casts seem a little too expensive because i want to have many objects which will access the actor

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

    Hey can you edit this like for multiplayer like if the both player are on trigger then the gates should close or I need to move a object from below to above the ground for arena
    Basically,when the player enters the edges of arena should close as player can't escape

    • @MattAspland
      @MattAspland  3 роки тому +1

      I can add that one onto my list yeah, nice idea :)

    • @mithunmmurthy1473
      @mithunmmurthy1473 3 роки тому +1

      @@MattAspland thank you :)

  • @ZimCrusher
    @ZimCrusher 3 роки тому

    Quick question:
    How would you find out who the parent actor is, when a component overlaps?
    So... say you have an actor called 'bob'. It's just an actor with a ball and a spear mesh component.
    When you touch the ball part, you register a hit, but that needs to be sent to 'bob', not the ball.
    So how do you find the Obj Actor when you hit and Obj Component?

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

    Thanks again!

  • @KenanErenArt
    @KenanErenArt 3 роки тому

    Hi, i want to ask you a specific question?
    There is a object like sofa in the scene when you get closer to the sofa, 3 material spheres pops up over it,facing to the player camera , when you click one of these material spheres, sofa's material will change. How can you make blueprint to this? :)

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

    I knew i had it right. I need to just play sound once hit. It is simple code but if i cast to my player character it works fine. Once my character posses other actor it does nothing.

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

    thanks for tutorial:)

  • @milan.980
    @milan.980 3 роки тому

    in 9 minutes, whoa....first time

    • @milan.980
      @milan.980 3 роки тому +1

      I knew this before LOL, but as always cool tuto :D

    • @MattAspland
      @MattAspland  3 роки тому +1

      Thanks a lot Milan!

  • @g-dojjo
    @g-dojjo 3 роки тому

    Thank you so much bro!!

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

    TY

  • @vladaslav
    @vladaslav 3 роки тому

    Hey man, is space jumping gravity doable with time dilation or do I use a different node?

    • @MattAspland
      @MattAspland  3 роки тому

      Hey, so you jump higher and for longer? If so, I'd recommend simply changing the gravity of the level instead of using time dilation.
      You should be able to go "World Settings" for your level, if you don't have this then go to "Window>World Settings". Then search or "Gravity" and tick "Override World Gravity", then increase the value to lower the amount of gravity :)

    • @vladaslav
      @vladaslav 3 роки тому +1

      @@MattAspland thanks man 🤘

    • @MattAspland
      @MattAspland  3 роки тому +1

      @@vladaslav No problem bro!

  • @DEBKNIGHT47
    @DEBKNIGHT47 3 роки тому

    Sir Can You make a video on spline system or corner turn for runner game

  • @Grand-warden
    @Grand-warden 3 роки тому

    Thanks for this video

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

    And thats the moment when you look at your ever growing cast chain and realize that this system does not scale very well. Thats were interfaces really shine ;)

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

    Legend, this was bugging me

  • @ricksanchez2143
    @ricksanchez2143 3 роки тому

    Can you do a dash ability with animations and partical trails?

  • @ROCKY-lu2cw
    @ROCKY-lu2cw 3 роки тому

    I heard: cast blueprints this is very bad idea
    cuz in this case game should load everything on this character, imagine what happens with 10-15 characters.
    But yea this is a good simple way, but better probably through blueprint interfaces

    • @MattAspland
      @MattAspland  3 роки тому

      Yeah with larger games and larger blueprints, you don't always want to be casting as it can be latent. However, most of the time you'll find it isn't an issue. But you are absolutely correct, interfaces would be more efficient, or checking the name of "Other Actor" and checking to see if that is equal to a name you want to allow.

  • @yelyat3933
    @yelyat3933 3 роки тому +1

    can you make a video how to take an rpg and shoot with it

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

    And for multiplayer with a million players?

  • @officialrhythmicthoughts
    @officialrhythmicthoughts 3 роки тому

    Can't believe I tried multiple things only to learn that the cast failed node exists

  • @ghostmasaki
    @ghostmasaki 3 роки тому

    flashlight animation tutorial?

    • @MattAspland
      @MattAspland  3 роки тому +1

      For example the player having an animation for holding the light?

    • @ghostmasaki
      @ghostmasaki 3 роки тому +1

      @@MattAspland exactly

    • @MattAspland
      @MattAspland  3 роки тому +1

      @@ghostmasaki Cool okay, I can add that to my list. Just need to try and find some animations for it lol

    • @ghostmasaki
      @ghostmasaki 3 роки тому +1

      @@MattAspland that'll be the hard part i'm sure xD

    • @MattAspland
      @MattAspland  3 роки тому +1

      @@ghostmasaki Haha yep lol

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

    Unreal docs must add this tutorial :(

  • @saurabhtembhurne4
    @saurabhtembhurne4 3 роки тому +1

    use tags instead

    • @Zarsky88
      @Zarsky88 3 роки тому

      Would that be more efficient?

    • @saurabhtembhurne4
      @saurabhtembhurne4 3 роки тому +1

      @@Zarsky88 yes they are the most efficient , used by unity copied by ue4 . and they are blazingly fast and memory efficient also multiplayer ready by default .

    • @Zarsky88
      @Zarsky88 3 роки тому +1

      @@saurabhtembhurne4 Thanks for the tip!
      Always had the impression (based on the official UE tutorials) that casting should be used sparingly. The solution in the video doesn't really align with that sentiment.

  • @TrojanLube69
    @TrojanLube69 3 роки тому

    An array of characters.

    • @MattAspland
      @MattAspland  3 роки тому +1

      An array would work wonders too!