Тёмный

Utility AI: Mastering Smart Decisions in Unity! 

git-amend
Подписаться 16 тыс.
Просмотров 4,6 тыс.
50% 1

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@git-amend
@git-amend 3 дня назад
Happy Sunday! 🎉 I hope this vid helps you get started with Utility AI! It's easy but can become quite complex! Let's go!
@yonatanabergel
@yonatanabergel 3 дня назад
Haha just yesterday finished setuping the goap ai. Does this continue or replace it? A good time to choose before I add all the content of the game to the systems.
@git-amend
@git-amend 3 дня назад
@@yonatanabergel My personal opinion is to use Utility AI to supplement your GOAP decision making so you get the full power of both. Ideally you will end up with less true/false beliefs and more beliefs that are based on Utility which has the potential to make smarter choices.
@yonatanabergel
@yonatanabergel 3 дня назад
@@git-amend that sounds great. I'll update as I look more into it. Thanks for the amazing tutorials👑 You explain really well.
@KadaXuanwu
@KadaXuanwu 3 дня назад
My bachelor thesis was about creating an Asset that combines Utility AI and Behaviour Trees. I didn't find many Assets of videos about Utility AI 2 years ago, but it seems to have gained a lot of popularity since then.
@git-amend
@git-amend 3 дня назад
Nice, that must have been a fun project! I have also noticed it is gaining in popularity as well.
@GiantsOnTheHorizon
@GiantsOnTheHorizon 3 дня назад
I used WiseFeline's Utility AI add-on in Unity. The power of it was really impressive.
@git-amend
@git-amend 3 дня назад
Nice, I haven't heard of that. Will check it out.
@RuuRs
@RuuRs 3 дня назад
I was just looking into Utility AI today and you dropped this video, absolutely insane timing. Thanks for all your hard work, it's seriously changed they way I've tackled programming!
@git-amend
@git-amend 3 дня назад
My pleasure! Thank you!
@rutchjohnson
@rutchjohnson 3 дня назад
Gotta love Sundays! Thanks for new vid!
@git-amend
@git-amend 3 дня назад
Thanks for watching!
@legendlazy
@legendlazy День назад
It can be useful to add a small constant to the utility value of the agent's current action to avoid the agent flip-flopping between different actions when their utility values are very close to each other.
@git-amend
@git-amend 21 час назад
Good tip, thanks for sharing!
@TheForbiddenLOL
@TheForbiddenLOL 19 часов назад
I'd love a comparison between utility AI and GOAP - specifically the upsides and downsides. I'd assume that GOAP is more expensive at least - but it honestly seems like it's easier to set up GOAP actions and prerequisites than manage all of the considerations you were writing once you get into composite considerations.
@voidnull4282
@voidnull4282 3 дня назад
Literally could not be more perfect timing to release a video on this exact subject. I am experimenting with A Rimworld like game and was already considering using Utility AI after reading up on it a bit.
@git-amend
@git-amend 3 дня назад
Nice! Hope this help you out a bit!
@TheOriginalDarkGlitch
@TheOriginalDarkGlitch 3 дня назад
Thanks for uploading this, this was a great video! I am currently messing around with state machines and I'm using Playmaker for enemy AI, but I have been wanting something more like this. This video gave me some insight to how to handle decision making with math. Very cool, thanks a lot!
@git-amend
@git-amend 3 дня назад
Glad it was helpful!
@TheElhoim
@TheElhoim 3 дня назад
Very nice tool! And it's nice that this kind of knowledge representations are gaining popularity. I've been working on a similar project to represent different kinds of planning problems for my PhD in unity and is always nice to see both the AI and game dev community pushing these kinds of projects!
@git-amend
@git-amend 3 дня назад
I agree, I'm glad there is such an interest in this kind of AI and not just generative. Thanks for the comment!
@andrewpullins8817
@andrewpullins8817 3 дня назад
I love your videos, your explanation of design patterns makes game dev seem simple. Designing AI behaviors spunds like a colossal beast of a task to figure out how to design. But knowing there is a design pattern that can solve a particular problem makes me feel more confident that I can make complex games.
@git-amend
@git-amend 3 дня назад
Thank you!
@fornonplayers3668
@fornonplayers3668 3 дня назад
a great candidate for that type of behaviour would be fuzzy logic as well
@git-amend
@git-amend 3 дня назад
That's a good point! Might be a good thing to think about for a future video...
@pliniojrm
@pliniojrm 2 дня назад
Your videos are always awesome. Is there a roadmap of your future videos? I'm struggling for modding and would love to know your knowledge on how to code thinking about modding.
@git-amend
@git-amend 2 дня назад
Sorry, no roadmap at this time. I just make videos about things I think are interesting.
@Thomas-yz3ny
@Thomas-yz3ny 3 дня назад
Thanks! Absolut quality content!
@git-amend
@git-amend 3 дня назад
Much appreciated! Thanks for the super!
@gonzaloasencio4503
@gonzaloasencio4503 3 дня назад
Thanks for the vídeo!! I always wondered how to create an AI
@git-amend
@git-amend 2 дня назад
Glad you liked it!
@nickolasbrown2260
@nickolasbrown2260 3 дня назад
The best channel i ever came across . Much Love from india ❤
@git-amend
@git-amend 3 дня назад
Thank you so much!!
@CrashKonijn
@CrashKonijn 2 дня назад
Amazing video once again!
@git-amend
@git-amend 2 дня назад
Thank you!
@lonbpalmer
@lonbpalmer 3 дня назад
These videos are the best!
@git-amend
@git-amend 3 дня назад
Hey thanks!
@dreamcatforgotten8435
@dreamcatforgotten8435 3 дня назад
You think you might be interested in talking about some of the Experimental features/packages Unity is working on? For example, Behavior Package and/or App UI? I think these current versions are for Unity 6 Preview and beyond.
@git-amend
@git-amend 3 дня назад
Not a bad idea, I’ll give that some thought. Some of them do seem interesting. Though I wish they would resurface motion matching.
@forbiddenbox
@forbiddenbox 22 часа назад
I was so confused, this video wass in my notifications 2 days late
@git-amend
@git-amend 21 час назад
Hmm, well I'm glad to hear you have notifications turned on at least :)
@damonfedorick
@damonfedorick 3 дня назад
Nice!
@git-amend
@git-amend 3 дня назад
Thank you! Cheers!
@damonfedorick
@damonfedorick 3 дня назад
@@git-amend Almost 1 Million views, you are at 701,045 views.
@git-amend
@git-amend 3 дня назад
@@damonfedorick Hard to believe...
@yashaswiification
@yashaswiification 3 дня назад
Another great great video! I have a dumb question to ask. Since every AI has a brain to it and this script has things to calculate in update. In short we are having n number of brain updates methods working. That may affect the performance of the game right. Instead can I have a one global update method and using static delegate can subscribe that method to calculate. Can I take this approach?
@git-amend
@git-amend 3 дня назад
You can do that, but it's going to be roughly the same amount of processing. My suggestion is to not calculate every frame, but instead put it on a timer so that calculations only happen once every 1-2 seconds, and then also do a calculation whenever the sensor detects something has changed.
@yashaswiification
@yashaswiification 3 дня назад
@@git-amend cool got it thanks again!!🙌🙌
@Hersatz
@Hersatz 3 дня назад
Utility AI is such a powerful AI tool. The only issue is how much overhead ends up being produced when debugging anything. I would not recommend making a utility AI for real productions without a fully fledged editor window to help debug what's happening in real time. The inspector stuff going on in the video is nice, but try to imagine a complex AI with dozens of actions. It would be unreadable and hard to reason through.
@git-amend
@git-amend 3 дня назад
I agree, a more sophisticated Editor tool would be extremely useful for visualizing and debugging the AI. I also recommend building it incrementally.
@tst2648
@tst2648 3 дня назад
I mean, the editor here is a pretty good start isn't it? wouldn't Editor.RequiresConstantRepaint solve the issue of having to mouse over the editor so you can see the changes in realtime?
@git-amend
@git-amend 3 дня назад
@@tst2648 I forgot about that method. Thanks! I think I'll make that a future quiz question too 😀
@sergiograca2288
@sergiograca2288 2 дня назад
Hi, first of all nice video and plz continue making more . Sorry for the noob question but whats the diference between using utilityAI for beahaviours instead of a State Machine , like we can switch states based on considerations or am i wrong . or we can improve utilityAI with a state machine , im a litl confuse.
@yonatanabergel
@yonatanabergel 3 дня назад
While this is a great and well-made system, I wouldn't say it extends GOAP AI. It could replace the algorithm that calculates the best action path to a selected goal, but that is the core of GOAP. Personally, aside from using Scriptable Objects or upgrading a regular state machine system, I don't quite understand the advantage of this approach. It seems more complicated and a bit of a cudder for every action you want to add. Why not instead add more beliefs and actions that lead to the same goals? For example, with a bow and arrow vs. sword, Utility AI would pick depending on distance. In GOAP, the AI would see that using a sword means 1) getting to the player and 2) attacking, versus using a bow which is just 1) attacking from a distance. It's less simplistic but still more organized.
Далее
R3: Observer Pattern on Steroids
18:28
Просмотров 8 тыс.
AI can't cross this line and we don't know why.
24:07
Просмотров 570 тыс.
У НАС ДОМА ЗАВЕЛАСЬ КРЫСА 🐀
01:00
How to create 2D RPG game in Unity 2024 Sample
2:13:17
Просмотров 3,9 тыс.
Pixtral is REALLY Good - Open-Source Vision Model
11:15
Essential Elements of Cinemachine 3.1
17:12
Просмотров 4,6 тыс.
Anatomy of an Advanced Player Controller
36:03
Просмотров 8 тыс.
The Unity HACK that the PROS know
21:27
Просмотров 14 тыс.
I Made The Ultimate Cheating Device
9:39
Просмотров 542 тыс.