How To Make a 3D Interaction Icon System in Unreal Engine 5

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • Support Me & Get These Files Here: / codethings
    CodeThings Community Discord: / discord
    Ready to make your first-person character even more robust? In this tutorial, we'll be building upon our existing true first-person setup and adding a 3D interactive icon system for our item blueprint. If you missed the previous tutorials, don't worry, I've got you covered with a card link to catch up. Get ready to make your game AAA quality with a 3D Interaction Icon System like in Resident Evil, Silent Hill, and so many more horror games! Subscribe now and let's get started!
    Link to the assets used in the video:
    drive.google.c...

КОМЕНТАРІ • 36

  • @ethandoesguitar1019
    @ethandoesguitar1019 26 днів тому

    Sick video, just curious, how would change the location of the billboards to make sure its above the item at all times? For example, if the pickup item is upside down, player won't see the icons.

  • @jonnyk402
    @jonnyk402 27 днів тому

    Everytime I follow Step By Step The Icons arnt showing up when entering the circle.

  • @academictakumi7406
    @academictakumi7406 Місяць тому +1

    I am sorry again to comment here, I tried to join your discord server, but it won't let me ;(
    Could you give me an inivitation so that I can join in?

    • @codethings
      @codethings  Місяць тому +1

      It’s no problem, this link should work :)
      discord.com/invite/ngVv7JQJMT

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

      @@codethings It works!! thank you:)

  • @dreamsengineer8597
    @dreamsengineer8597 3 місяці тому +2

    hi i have a question wouldn't casting be fine in this case because your casting the main character which will always be in memory or am i understanding this wrong?

    • @codethings
      @codethings  3 місяці тому +1

      Great question! From my understanding of memory usage in unreal engine, it is all dependent on instances. So for example, since we are using the first person character already, the memory usage caused from that character being spawned in will be present, but when you cast to the character in an item, it will cause an additional reference to the first person character for every single bp_item. This will cause an extreme load if there are many different items present in your game. They always say, if you dont have to cast, dont cast because youre essentially inheriting all the memory usage from that casted item. Better to be safe than sorry I suppose! That is my understanding at least, hope that helped :)

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

      Thanks, I think I kinda get it now

  • @DarkPlayerBr
    @DarkPlayerBr 2 місяці тому +6

    Thank you very much man, this optimization logic that does not use the cast for the player will greatly reduce the size of my game. I would literally give like 3 casts in a bp of a door

    • @codethings
      @codethings  2 місяці тому

      Glad I could help :)

    • @tonetfal
      @tonetfal 7 днів тому

      That cast wouldn't reduce the size of your game by any means.
      In regards to the memory, cast makes sure that the class (rather BP in this context) is always loaded if the BP containing cast is loaded. So if your pickup BP is loaded, it will make sure that the character BP is loaded as well. However, your character is literally loaded throughout the whole game, so it wouldn't load anything.
      An easier approach would be by creating a separate collision channel for players only, so that it would notify about begin/end overlap when an actor that wants to block player collision channel is in/out the area. Obviously, the player collision channel would be assigned only to the player character. In that case, you can pretty much assume that the thing that is/was overlapping with the pickup was the player character, and nothing else, so no additional logic is required to identify what began/ended overlapping with the pickup.

  • @PuniieGodx
    @PuniieGodx 5 місяців тому +6

    cant wait for the next videos! im making a horror kinda like resident evil 7 so your tutorials are just perfect for this! im just kinda stuck right now with making AI

    • @kittymoonszz
      @kittymoonszz Місяць тому +1

      hello friend! Did you find a good guide for AI?

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

      @@kittymoonszz not yet but i have been working on other stuff first

    • @kittymoonszz
      @kittymoonszz Місяць тому +1

      @@PuniieGodx oh ok, thanks for answering!

  • @AstralEdge_Interactive
    @AstralEdge_Interactive 2 місяці тому

    Shadow of the object disappears when i get out of the range, what might be the problem?

  • @LyriaTempest
    @LyriaTempest 4 місяці тому +2

    Super useful thank you! If we want to apply this Sphere Collision logic with icons to other Blueprints, would it be best to create a ChildActor like BP_SphereInteraction?

    • @codethings
      @codethings  4 місяці тому

      I would create a parent bp class probably classed BP_ItemIcon and then make the static mesh instance editable as well as radius size for both icons and then make child classes of that parent class for any item I would want to make. For example: Food item, Note item, etc would all be children of the parent class BP_ItemIcon in that case

  • @celianna4320
    @celianna4320 7 місяців тому +4

    super helpful! thank you so much man I'm gonna use this soon :)

  • @GearshiftDevelopmentStudios
    @GearshiftDevelopmentStudios 3 місяці тому +1

    help i did exactly what the tutorial asked but the collisions are small they ned tobe 1000 in radius to work and the icons dont show!

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

      that sounds like you have a scaling issue with the size of your blueprint? or the mesh that it is a child of? I would recommend either making sure that the scaling of the bp is 1 or the mesh is 1 or if you are still confused, you are more than welcome to join the discord and we can try to help you out! :)

  • @hurmpel
    @hurmpel 7 місяців тому +4

    cant wait for the pickup system

    • @codethings
      @codethings  7 місяців тому +2

      Will be making that soon! :)

  • @academictakumi7406
    @academictakumi7406 Місяць тому +1

    Thank you for the amaizing tutorial video!!
    I have a question. At the end of the video, why do you set the outer and inner sphere radius nodes to the construction script pin?

    • @codethings
      @codethings  Місяць тому +1

      Yes, the reason I did that was because doing that in the construction script not only increases performance per blueprint (because you’re not running it during runtime but instead before the game loads) but it also allows you to see it while in the editor viewing where the sphere radius is

    • @academictakumi7406
      @academictakumi7406 Місяць тому +1

      @@codethings Thank you for the answer. Now I completely understood it!

  • @parsa3611
    @parsa3611 3 місяці тому +2

    that is so useful.

    • @codethings
      @codethings  3 місяці тому +1

      Happy to hear it! :)

  • @Alpha_GameDev-wq5cc
    @Alpha_GameDev-wq5cc 2 місяці тому +1

    Just found this channel from your tutorials… excited for eeve too

    • @codethings
      @codethings  2 місяці тому +1

      Thank you so much for the support :)

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

    But wouldn't it take a lot of time if we did the same thing for every interactable actor in the project?

    • @codethings
      @codethings  3 місяці тому +1

      Yea it would, but in the interact system video I followed with, I fixed it so that it would be a base blueprint for every item that you want to have that and then you can make a child of it every time and it would immediately have that!

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

      @@codethings thank you🌹
      I'll Check it now👍🏼

  • @MustafaDagdelen
    @MustafaDagdelen 2 місяці тому +1

    Thank you