Interacting with Objects in the World | No Casting | Unreal Engine Tutorial
Ойындар
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
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
28 күн бұрын
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
27 күн бұрын
@@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
27 күн бұрын
@@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
27 күн бұрын
@@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
27 күн бұрын
@@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
Thanks for another great tut!
@chankulovski
26 күн бұрын
You are welcome ! More to come ✌️
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
25 күн бұрын
That can be added easily, just make sure to put the Blueprints BEFORE the destroy Component / Actor.
@ATomCzech
25 күн бұрын
@@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.
I've never used Unreal but I like the presentation a lot.
@chankulovski
27 күн бұрын
Thank you for your kind words, I'm really doing my best :)
Бро реально притворяется енглишменом
@chankulovski
28 күн бұрын
My Channel is english speaking only, please write your comments in english, thank you :)