Interaction System Tutorial | (Part 2: Laying the foundation) | Unreal Engine 5 (UE5)

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

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

  • @felixzaoata6121
    @felixzaoata6121 3 дня назад +3

    You have the most efficient style of teaching in youtube ! Thank you for this

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Thank you for your kind words! I'm glad you find my teaching style effective. I appreciate your feedback 🙏

  • @ralph2361
    @ralph2361 15 часов назад

    Hi, Ali! I really like your videos. I think you're very smart with of how precise you are with your approach in programming. I gained an understanding about something I just followed without thinking much. Thank you. I hope you make videos about inventory systems with bags and also the best way to do widget prompts. I'm really inclined on supporting your Patreon once you have more stuff. I wish you more success!

  • @RetroPlusGames
    @RetroPlusGames 2 дня назад

    The best Unreal teacher around. Wonderful work!

  • @LeateqOfficial
    @LeateqOfficial 2 дня назад

    Amazing tutorial !
    Very easy to understand and explains the system much better than most tutorials i’ve seen !
    I hope to see in the future tutorial on how ai can interact with the world, like open doors or do some other tasks

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад +1

      Thank you for the kind words! I'm glad you found it easy to understand 🙏 I will indeed cover how to get an AI to interact with the world, but it won't be very feature rich, just a quick demo on how other actors can interact as well

    • @LeateqOfficial
      @LeateqOfficial 2 дня назад

      @@AliElZoheiry oh nice, no worries i am still looking forward to it ^^

  • @HarshKumar-hf1tk
    @HarshKumar-hf1tk 6 часов назад

    AMAZING TUTORIAL BROTHER . THANKS

  • @retrowrath9374
    @retrowrath9374 2 дня назад

    Best tutorials out there, you have helped me so much with my project, thanks. Alot just don't do this, they just use casts and on tick for everything as a quick way to do things,, nothing elegant and expandable like this that you can apply to all things in your project. It's like your health system, you can just add to anything and give it health thanks to interfaces. I'm making a Gothic/Risen style game and absolutely need this type of system for interaction and amount of actors that I need to interact with.

  • @Josh_Alfaro
    @Josh_Alfaro 5 дней назад +1

    Very helpful Ali. Thank you. I’m excited to see how this integrates with an inventory system. Also excited to see your GAS series

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Hey Josh! You're very welcome! I'm glad you found it helpful. This indeed should plug right into an inventory system series. Stay tuned ;)

  • @fhajji
    @fhajji 3 дня назад

    Excellent explanation of interfaces and why they are used. Can't wait to watch the upcoming episodes. Also, interacting with this video by commenting and liking.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Thank you! I'm glad you found the explanation helpful. I appreciate your support with the likes and comments 🙏 Looking forward to sharing more episodes soon!

    • @Yggdrasil777
      @Yggdrasil777 День назад

      That's the best form of interactable there is!

  • @GC2978
    @GC2978 2 дня назад

    Love it! Always great to see an Ali upload. I'm hoping that the Games Dissected series will still get love alongside this one, it's by far my favourite of your content! 😁

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Thank you! I'm glad to hear you enjoy it! I'll definitely keep the Games Dissected series in mind as I create new content. Any suggestions for a game mechanic to dissect?

    • @GC2978
      @GC2978 День назад

      @AliElZoheiry I'd love to see a recreation of the motion tracker from Alien Isolation, or the gravity gun from Half Life, or even bunny-hopping movement like in old source games.
      Keep up the great work! 👍🔥

    • @AliElZoheiry
      @AliElZoheiry  День назад +1

      @@GC2978 I really like the gravity gun from half-life, I'll add it to my list of ideas. Thanks for sharing !

  • @blaze9433
    @blaze9433 3 дня назад

    Oh this is GREAT! Because I've spent the last two weeks working on implementing an Interaction System, which I was trying to make reusable and modular like your Damage system. And it finally works but definitely will be tuning in to see if there's something i can learn to make it better.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад +1

      Hey! I'm glad to hear that your Interaction System is working now 🙌. I hope you find some helpful tips in the video to enhance it even further. Thanks for sharing!

  • @gosti_fr6106
    @gosti_fr6106 День назад

    Amazing video! I love what you do Ali Elzoheiry, the quality of your work is really great and really allows to understand every detail, and unlike many others then you will also show the possibilities with Gameplay Tags, Event Dispatcher, etc... Thank you very much!

  • @monkeybanter9663
    @monkeybanter9663 2 дня назад

    Im ready for part 3 bro lets goooo

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Hey! I'm glad you're excited for part 3! Stay tuned, it's coming soon! 🙌

  • @mugetsugl4179
    @mugetsugl4179 3 дня назад

    Love your videos Ali! Helps me a lot.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Thanks! I'm glad to hear that you're finding them helpful. I appreciate your support 🙏

  • @QuantumPixelJoystick
    @QuantumPixelJoystick 2 дня назад

    Great tutorial !
    Thank you 😊

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      You're very welcome! I'm glad you enjoyed it 😊

  • @elganzandere
    @elganzandere 2 дня назад

    In Part 3 - would you please consider briefly highlighting the modification of this into a line/sphere trace approach?
    For the most part - I'm looking to avoid volume-based interaction, in favor of "traces within arms' length" (~80uu/cm).

  • @fray989
    @fray989 3 дня назад +7

    Every interaction system for third person I've seen on YT doesn't seem to account for one critical point in the level building process: it needs to allow the level designer to put interactable objects close together, and it needs to give the player agency on which one they pick up. For example: having a table with pistol ammo and shotgun ammo side by side. What if whatever is first in your interactable array isn't the item you want to pick up in this case? Or that item has reached it's max limit, and now you're stuck having to try and approach the table from another angle. I think a third person interaction system needs to be built on a line trace from the camera in addition to the things in this video to give the player agency in what they pick up without having each interaction be isolated in space.

    • @DryComdy
      @DryComdy 2 дня назад

      You can easily find a solution for it depending on how you want your game to be. They are teaching the part they want to teach.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Hey! That's a great point you brought up. The way I will be implementing it, will be based on the "order" of which interactable came in range, meaning that the latest interactable to come in range (which will be the closest one) will be the "active" one.
      The widget will also be displayed in the 3D world in a location between the interactor and the interactable, so that when the active interactable changes, the widget moves and the player can clearly see which one they can interact with. I will keep explaining additions and improvements you can make to your own system without explicitly implementing all of them

  • @michaelbond4609
    @michaelbond4609 3 дня назад

    Thank you for this video

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      You're welcome! Thank you for watching and commenting 🙏

  • @EHLarson
    @EHLarson 5 дней назад

    Interactable Actor Interface.... to the tune of the William Tell Overture.

  • @TvCinemaCraft
    @TvCinemaCraft 2 дня назад

    so cool, please do next video

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Thanks! I appreciate your enthusiasm 🙏 Coming soon ;)

  • @KIRA-kz8pn
    @KIRA-kz8pn День назад

    Hello! Question regarding Bow System tutorial! Actually i created the system but theres a bug (i think because of my fault)
    whenever i aim, then draw and fire so fast then the arrow get stick to the hand of the player! I tried to fix this bug myself but no progress! can you help me with this?
    EDIT(Discord link is also expire)

  • @LuanvMCD
    @LuanvMCD 3 дня назад

    Poderia habilitar a nova opção do youtube para dublagem automática? Mesmo eu entendendo o seu inglês ficaria ainda melhor o aprendizado.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад +1

      Hey! Thanks for the suggestion, but this feature is not yet available to me or my region

  • @vinaciotm
    @vinaciotm 3 дня назад

    Tutorial on how to sequence for interactive animations in gameplay, such as opening a chest by quickly pressing a button-similar to the mechanics in old God of War games. If the button is pressed too slowly, the action cancels and fails; if pressed fast enough, the chest successfully opens.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Hey! Thank you for the suggestion, that sounds like a cool idea. I’ll definitely keep it in mind for future videos! 🙏

  • @DanRandyB0T
    @DanRandyB0T 3 дня назад

    If your third person character BP is say 500MB and you reference it in another BP by casting, so now that BP is roughly 500MB in memory size also, when both of those load in the game will it take up 500MB x 2 and so on for other actors or because your TP character BP is always loaded at the start does it not matter that your casting to it in the other actors? And it will only load what is not TP character from that BP?

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад +1

      Hey! Great question! In Unreal, when you reference an actor through casting, it doesn't duplicate the memory usage of the original actor. Instead, it just creates a pointer to the existing instance. So, you'll only be using the memory allocated for the unique parts of each instance. Meaning that if the class is already loaded in memory, then casting to it from anywhere else doesn't affect memory usage, because the engine will first check if it is already loaded, it won't load it again.
      But, when you create multiple instances (meaning you have 2 players or 2 enemies in your game) then some things will be duplicated and take up additional space in memory (like the class variables) but some things will be shared and only loaded once (like the textures)

    • @DanRandyB0T
      @DanRandyB0T 2 дня назад

      Cheers for the response and thanks for confirming

  • @akzork
    @akzork 3 дня назад +2

    Hey Ali scale your UE5 UI for better YT viewing experience

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Hey, I appreciate the suggestion! What exactly do you want me to scale? Larger font?

    • @akzork
      @akzork 2 дня назад +1

      @@AliElZoheiry UE > Tools > Debug > Widget Reflector - Application Scale This will allow you to scale up UI elements and text which will be better visible and enhance the YT viewing experience.

  • @xnicktendox7501
    @xnicktendox7501 2 дня назад

    What is the difference between "add" and "add unique" on an array?

    • @vladdimitrov819
      @vladdimitrov819 2 дня назад +1

      Add will always add the item to the array even if it already exists. So your array can have multiple indexes referencing the same item, actor etc. Add Unique will only add it if it doesn't already exist in the array.

    • @xnicktendox7501
      @xnicktendox7501 2 дня назад

      @vladdimitrov819 awesome thank you

  • @DryComdy
    @DryComdy 2 дня назад

    awesomesauce

  • @TvCinemaCraft
    @TvCinemaCraft 2 дня назад

    how talk with npc ?

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Not really the topic of this series, but I will be adding an "NPC interaction" to demo something similar

  • @yasin_-
    @yasin_- 3 дня назад

    Hello, I will have a request from you, I don't know English, you need to add English subtitles for the youtube translation feature to work properly. if you do this, I can understand you better, thank you.

    • @AliElZoheiry
      @AliElZoheiry  2 дня назад

      Hey! Thank you for your suggestion. It would be a lot of work to add subtitles manually for all my videos, so I suggest turning on "Auto captioning" which will generate subtitles automatically based on the audio