Unreal Engine - Casting and Interfaces Explained

preview_player
Показать описание
Support the channel through donations. Crypto accepted!
Bitcoin: 1JFwWHr4X6uAeoZadukzqKjzFBj3Qjy7Sk
Ethereum: 0x2B2Bc108F1Cc0fF899959dEF3226637787d8C3dE
Dogecoin: DNQ33YnhpWoTBokBNVkZP5ub8KTLkpyjpv

Join our community discord!
Рекомендации по теме
Комментарии
Автор

Wow, finally someone explained WHY and WHERE interfaces are useful. Most tutorials they say HOW to use interfaces and Castings. Keep up this good work and do more detailed tutorials with cat as an example.

rajeshterofer
Автор

The cat must be an addition to all future tutorials. It is something we didn’t know we needed.

SpiffyCS
Автор

Man, I think I'm in love with you. Don't tell my girlfriend.

Learning **why** something is good is so much better than just seeing how to do something.

As a UE beginner, this channel is amazing.

brycerothschadl
Автор

Important note: You don't always *need* to check if the actor implements the interface before calling the implemented function. If the actor does not have that interface, there is no error and nothing happens, the game continues normally. However, in this video's example we made the projectile disappear IF something got painted, so it's a perfect example for when we *should* check that the actor implements the interface.

thpwninatr
Автор

probably the best example for casting & interfaces...anywhere. Heck even beginning programmers in college should be sent to this video.
Cheers,
b

behrampatel
Автор

As always, excellent tutorial, i permit myself to add some additional note :
-> Interface have a lower cost than cast, work with interface when you can.
-> Casting on the upper hierarchy will cost less. If you need a fonction un Parent, prefere cast to parent than cast to child
-> If a function cast often something (like everyframe), considere caching the cast (Create a new variable, and store the cache return inside, instead of casting it every frame)

Aherys
Автор

This is the only tuutorial that i understand what the casting and interfaces are. Thank you

lonedew
Автор

You probably have the best UE4 tutorial channel on youtube. Among the few who don't really leave any questions unanswered. Great job, subscribed :)

matt
Автор

I'm like a year late to the party but your explanation on casting is just clearer and simple than anything there is online... You have a gift for teaching...

kuhnen
Автор

You see, before this video, I... was that guy that would cast and cast... and cast to as many different actors as I needed. Now I was taught that not only is there a much better way of doing things but also what I was doing before was incredibly inperformant so I thank you very much for this incredible knowledge lmfao

devin
Автор

You are a gem. Incredibly concise and useful explanations for a newbie like me

ammoburgeryoutube
Автор

One of the best explanation of the topic. Clear and easy to understand. Thank you!

rayvellart
Автор

This has been a nebulous concept for me for a long time. Thanks.

jdrewlayton
Автор

The best tutorials are 90% why and 10% how. Thank you so much, i understand so much better now.

DefacedProductions
Автор

Thank you so much for this! I'm in the middle of an Unreal online course at the moment and it bothered the hell out of me that the tutor just plainly said "I always use interfaces, never casting" without ever going into why.
Same as with your videos explaining replication, this helped me a ton! So thanks :)

kevinpahlervorderholte
Автор

From completely to now understanding when and thank you!

UnleashedCode
Автор

gotta choin the choir and say that this is such a fantastic explanation. Thank you!

DavidSchiess
Автор

This is an excellent demonstration with the furniture vs. the cat 👌

owencoopersfx
Автор

Wow, DOES IMPLEMENT INTERFACE !!! I was looking at a tutorial and even if it had the interface it was still casting and I didn't understand why isn't there something more. I'm a programmer and blueprints are so easy, yet so complicated for me. In programming I would create an event system and fire that even, waiting for someone registered to do something ( works well in unity ).
Thank you soooo much for this

iamagenius
Автор

Thank you so much, I was scratching my head for some hours for getting rid of castings.
Thanks again.

RtxRob