Interacting with Objects in the World | No Casting | Unreal Engine Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 2024
  • Unreal Engine Blueprints Course Beginner/Advanced:
    Coupon 33% OFF
    www.udemy.com/course/unreal-e...
    Coupon expires on: 10th July 2024
    ---------------------------------------------------------------------------------------------------------------------------
    My Unreal Marketplace Products:
    FPS Doors Pack
    www.unrealengine.com/marketpl...
    Gameplay Ability System ( GAS ) Blueprints
    www.unrealengine.com/marketpl...
    Endless Runner Mega Template
    www.unrealengine.com/marketpl...
    ---------------------------------------------------------------------------------------------------------------------------
    Support me:
    www.paypal.com/donate/?hosted...
    ---------------------------------------------------------------------------------------------------------------------------
    Join our community:
    / discord
    ---------------------------------------------------------------------------------------------------------------------------
    In this video I will show you how to destroy Actors and Components safely in the World without using Casting, Get All Actors of Class or similar expensive nodes. Instead, we are going to use Tags.
    We will also fix the Error Message: "Access None trying to read property..."
    #unrealengine #gamedev #programming #udemy #tutorial #udemycoupon
  • เกม

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

  • @user-pu1ql5dl5q
    @user-pu1ql5dl5q หลายเดือนก่อน +1

    In two months it will be a year since I started working with Unreal Engine, and your video of alternatives for casting is helping me a lot, thank you very much.

    • @chankulovski
      @chankulovski  หลายเดือนก่อน +1

      The exact same thing happened to me when I first started, after 1 year of using Casting, I've learned alternatives for Casting and I want to teach everyone to not make the same mistake like we did. I'm glad my Tutorials helps you. More to come !

    • @kotarosdevgame
      @kotarosdevgame หลายเดือนก่อน

      @@chankulovski Thank you men i dont know about Casting issue, i remove unnesserary Castings from my Main Characters , because they have all the Hitboxes and Hurtboxes , i use for the box on the Overlap Component (Get Display Name is equal to a branch) do you think it is expensive? , thank you.

    • @chankulovski
      @chankulovski  หลายเดือนก่อน +1

      @@kotarosdevgame Get Display Name is just displaying the Actor's name as a TEXT, which is not expensive at all. You are welcome though, most of the developers don't know these things or don't want to accept it. So make sure you remove all Castings in your game ( it will cost you a lot when you package your game with Castings ). More Tutorials are coming !

    • @kotarosdevgame
      @kotarosdevgame หลายเดือนก่อน

      @@chankulovski I will try it i used so much 🤣 but just at the start of the begin play ( Cast to Character to promote to a variable to get a reference.

    • @chankulovski
      @chankulovski  หลายเดือนก่อน +2

      @@kotarosdevgame Nooooo, that's even worse :( When you start the game immediately you are loading everything from the Character. It's like, you weigh 75kg, but when you start your day next morning to get out of bed, you are suddenly 500kg weight :( Once you get used to the Interfaces and other better nodes, you will say WHY I HAVEN'T DONE THIS BEFORE??? Trust me ... been there done that

  • @norvsta
    @norvsta หลายเดือนก่อน

    Thanks for another great tut!

    • @chankulovski
      @chankulovski  หลายเดือนก่อน +1

      You are welcome ! More to come ✌️

  • @blossomcherrypink
    @blossomcherrypink หลายเดือนก่อน

    I've never used Unreal but I like the presentation a lot.

    • @chankulovski
      @chankulovski  หลายเดือนก่อน

      Thank you for your kind words, I'm really doing my best :)

  • @ATomCzech
    @ATomCzech หลายเดือนก่อน

    But, usually you need to do some action on destroyed object like make it fire, make it fall, make it play some animation, etc. It is usually not enough just remove it.

    • @chankulovski
      @chankulovski  29 วันที่ผ่านมา

      That can be added easily, just make sure to put the Blueprints BEFORE the destroy Component / Actor.

    • @ATomCzech
      @ATomCzech 29 วันที่ผ่านมา

      @@chankulovski Yes, but then you need to solve that inside of character blueprint. Much more flexible is propagate the destruction even to the target object and lest itself handle the destruction in the proper way.

  • @chach430
    @chach430 หลายเดือนก่อน

    Бро реально притворяется енглишменом

    • @chankulovski
      @chankulovski  หลายเดือนก่อน

      My Channel is english speaking only, please write your comments in english, thank you :)