Smart Enemy AI | (Part 10: AI Jumping / Nav Link) | Tutorial in Unreal Engine 5 (UE5)

  Рет қаралды 13,983

Ali Elzoheiry

Ali Elzoheiry

Күн бұрын

Learning Goals:
1 - Use Nav Links to get enemy AI to navigate to areas that they previously couldn't
2- Get AI character to jump to reach a certain destination
Link to my Patreon (Thank you for your support)
/ alizoh
Join my Discord server to chat and mingle with the community
/ discord
Link to part 1 of the "Smart Enemy AI" tutorial:
• Smart Enemy AI | (Part...
Link to the "Damage System" tutorial:
• How to Build a Combat ...
Link to the "Projectile System" tutorial:
• How to Shoot Projectil...
About me:
I've been learning game development for a few years now, I do have a background in software engineering, and I also have a background in education, so being able to combine my love of gaming and love of education is the best way to spend my time.
I am currently working on this 3rd person action adventure game as a hobby, but I am also trying to build a community, thus I am creating KZbin tutorials to find others who are interested in game development and design.
If you are interested in learning more or if you are interested in working together, please let me know in the comments.
If you would like to support me on Patreon, you will get access to all the source code from every video I post as well as any custom assets that I create. Also I would be forever thankful to my early adopters
/ alizoh
Checkout my other tutorials on my channel:
/ @alielzoheiry
Chapters:
00:00 Outcome of This Part
00:40 Recap of our current navigation behavior
01:40 Explanation of Nav Links
06:36 Jumping When Reaching the Nav Link
12:16 Adding More Nav Links
17:06 Modifying Enemy Sight Radius
18:40 Modifying Seek Target After Losing Sight
28:55 Outro
#unrealengine #unrealengine5 #ue5 #gamedev #smart #enemy #combat #AI #blueprint #tutorial #behavior #tree #behaviortree #navigation #perception #navlink #jumping

Пікірлер: 127
@theindiegamedude
@theindiegamedude 9 ай бұрын
Woot! I was just going through your AI Series for a second time here today to really cement the information you have provided us to memory. I have pretty heavy ADHD, and it takes me 2 or 3 passes of practicing any skill, learning information, etc. To really set the skills in place. I'm quickly going through it again first thing next week, before diving into my own projects' AI. Personally, I believe you have the best development practices for UE. Out of the several I've learned from on here and other platforms. Which allows for very dynamic and flexible gameplay design/development(which is critical for larger games). I've been looking forward to the next video in this series. And, now I have something to look forward to first thing tomorrow. I was so stoked to get the alert on my phone a minute ago, right after calling it a day. Anyone reading this far. Thanks for the patience. Subscribe. Hit that notify, and give this man a like. If you can, help support through Patreon. This is exactly the content the newcomers(even those who've been around for a while) to Unreal Engine need. (Note: I am not affiliated in any way, just a fan XD) Peace, and great week/weekends to all.
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Thank you so much for this message and for your continued support 🙏 It means a lot to me that you think very highly of my content, this is exactly what keeps me going and puts a smile on my face every time I read it. I'm very happy that these videos are useful for you, and I hope to continue putting out content you enjoy ;)
@theindiegamedude
@theindiegamedude 9 ай бұрын
My pleasure :) I've learned so much about AI within UE from your generous content, I would not have learned anywhere else this easily and well explained. I feel like it belongs in a paid course, which is why I subscribe to your Patreon. To help support, and encourage those who do great work. Means we all can lift up, gain knowledge, and grow. I've not gotten to this video yet, but I'm sure it's great. Life stuff makes things very busy at times. I'm looking forward to future content as always :) Have a fantastic weekend!✌& Stay Blessed 🙏
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
@@theindiegamedude I'm very happy to have you as a supporter 🙏 enjoy your weekend too
@theindiegamedude
@theindiegamedude 9 ай бұрын
@@AliElZoheiry Thanks man✌ Enjoy 🤙
@shantagmorelbereth1408
@shantagmorelbereth1408 2 ай бұрын
The more I am following you, the more I am convinced you could be an excellent teacher: Calm, clarity and expert. Thanks.
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Thank you for your kind words! I'm thrilled to hear that you find my teaching style helpful and appreciate your support.
@umpalumpa4041
@umpalumpa4041 9 ай бұрын
No joke was just trying to figure out how to make some creatures do a jump attack the last few days. I got something working but I bet this will help smooth it out. Thanks for all the amazing tutorials!
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're very welcome! I'm happy that this came at the right time for you, I hope it helps 🙏
@django-unchained
@django-unchained 6 ай бұрын
Really well presented with straight to the point and no gibberish. Truly by a Dev for other Devs.
@AliElZoheiry
@AliElZoheiry 6 ай бұрын
Thank you so much ☺️🙏 that could be my slogan indeed "Truly by a dev for other devs" ♥️
@pterafier
@pterafier 2 ай бұрын
Using BPIs for AI behavior is clever AF, super glad I watched this video, thanks!
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Glad you found it useful! Thanks for watching 🙏
@osmanbaba1485
@osmanbaba1485 2 ай бұрын
Hi, if you don't mind could you explain why it's clever and what would be the alternate method it trumps.
@machineboyCom
@machineboyCom 9 ай бұрын
Thanks for making these tutorials, excellent work. Keep up the good job!
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're very welcome, and thank you for the support 🙏
@mbenson501
@mbenson501 9 ай бұрын
Amazing video! You explain things so clearly!
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Thank you! Really glad you think so and that you found this useful 🙏
@MaxStudioCG2023
@MaxStudioCG2023 8 ай бұрын
@@AliElZoheiry hey man there is a problem with the links ....have you tryed compiling the project ? .....whell in the editor all works as suposed to but when compiling the project for shipping and export as a game then when you play the game the links are not working anymore ..is like they dont exist .....can you check that out and see how can we fix that? ty
@skywardstudiosofficial
@skywardstudiosofficial 8 ай бұрын
You are a diamond, thank you :) Keep being you. You are very talented and I have learnt so much from you.
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Awww that's an amazing comment, thank you, and I appreciate your support 🙏😊
@demonics7549
@demonics7549 9 ай бұрын
something cool to add would be enemy's can tell other enemy's if they see the player
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
That's a cool idea! I'll add it to the list
@Kkurox
@Kkurox 9 ай бұрын
Thanks for your hard work, you are amazing dude 🔥🔥
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're very welcome 🤗 and thank you for the support!
@oliver7garcia31
@oliver7garcia31 2 ай бұрын
Great Ali as always thank you very much
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Thank you for your kind words! I'm glad to hear that you enjoyed the content. Your support means a lot!
@velocifossa
@velocifossa 9 ай бұрын
These videos are absolutely fantastic! I believe at one point you said that you were interested in things you might be able to add to your AI. I've got a couple of ideas that might be neat to try out. The first thing kinda builds off this vid as in just having a basic jump (I might've missed it if you mentioned it here). Predefining smart paths for every jump an enemy could make seems tedious especially for larger more open, or procedurally generated environments like with all your paths on the new island you made. But even more so, I think it'd be cool to see different types of jumps depending on the height of the vertical distance. For example, maybe one cube height in the test map is a normal jump, 2 cube heights is a mantle, and maybe 3 cube heights is a jump AND mantle. Taking that even a step further, to really test the bounds of AI, I wonder if it would possible on like a 4 cube height, for the AI to check the area, grab one of the blue cubes (or viable target mesh), drag it to the wall, jump on the blue cube then jump/mantle up. I understand that last starts getting pretty advanced, but would super cool to see, and might work around having to script all of possible jumps in a level. The next idea is trying to implement a weapon drop system, where you and enemies can knock weapons out of each others hands, dropping the mesh, and having the AI try to retrieve the weapon or find a new one (I think the new Legend of Zelda games do something like this). I'd think this implies the need for a rudimentary inventory system for the player and enemy, and maybe even flexible characters jobs or enemy skill trees depending on what weapon an AI finds (a ranged enemy finding a sword for example). Maybe even a panic state when the enemy tries to run away or fist fight you if it can't retrieve a weapon like an elaborated flee sequence you added earlier on. I understand those are beefy ideas, but these vids are so good, and the possibilities for you to go are so extensive. With the quality of games getting higher and higher, the expectation of AI gets greater and greater. I'm so excited to see how you keep building on these concepts, and would love to see you push the base templates to the absolute limits! Once again fantastic videos! I wish you the best!
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Thank you for your kind words and those great suggestions I'll definitely consider them in the next parts
@seithcg
@seithcg 7 ай бұрын
Excellent tutorial, thank you!!
@AliElZoheiry
@AliElZoheiry 7 ай бұрын
You're very welcome. Glad you found it useful 🙏
@InnerspaceX
@InnerspaceX 9 ай бұрын
Awesome! Thank you!
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're most welcome!
@roydash5657
@roydash5657 9 ай бұрын
You are really very genius! Amazing developer! Good job 👍! Your AI is better than AAA game AI! You awesome person
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Wow, thank you so much, I'm glad you think so, and you are an awesome person too!
@roydash5657
@roydash5657 9 ай бұрын
@@AliElZoheiry Thank you so much for your kind words. Its Truth
@kinderbugado7044
@kinderbugado7044 9 ай бұрын
Thank you a lot for the tutorials, I'm learning unreal and with your videos I learn a lot! There's a way that if I have questions I can ask you directly? Thanks once again, you are the best!
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're very welcome 🙏 and if you have questions, feel free to join the Discord server and ask the community and myself, the link is in the description
@kellowattentertainment
@kellowattentertainment 9 ай бұрын
This is perfect
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Thank you 🙏
@jdenisb1085
@jdenisb1085 4 ай бұрын
Thank you very much!
@AliElZoheiry
@AliElZoheiry 4 ай бұрын
You're very welcome! Thank you for watching and commenting
@arescaelum9251
@arescaelum9251 3 ай бұрын
Just wanted to point out, the simple links are still useful when using the Smart Link, even if only temporarily you can move your simple links, click "Copy End Points from Simple Link to Smart Link" and then remove the simple links if you wanted to. I don't think they really affect it much leaving them in.
@AliElZoheiry
@AliElZoheiry 3 ай бұрын
Hey! That's indeed a good point, but be aware that keeping them does have risks, because then you're leaving it up to the AI controller's internal logic to select between the smart and the simple at some points. Which is why leaving it in could lead to the AI going to the link location and not doing anything
@natecoet3291
@natecoet3291 9 ай бұрын
Cool tutorial ;)
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Thank you 🙏
@alexbaico1219
@alexbaico1219 2 ай бұрын
Amazing tutorial! just what I needed to make my AI jump through platforms. I realized that you can keep the simple links, place them with the arrows, and then click the button "Copy End Points from SimpleLink to Smart Link", that moves the smart links position to the simple ones, this way the placement is much easier and less annoying. I kept the simple ones in my case, and it still worked, do you know if they affect the AI somehow? if they do, is much easier to delete them after the placement is done, than doing the placement manually 😊
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Glad you enjoyed it! Indeed I used the same thing with simple links, but I found that sometimes the AI would choose the simple link instead of the smart link randomly, and that would prevent my "reached link" event from being triggered and the jump wouldn't work. I found that removing the simple link prevented that issue from happening
@themeskimoze
@themeskimoze 9 ай бұрын
you are a king
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
No you are ❤️
@user-dt4uh4np9u
@user-dt4uh4np9u 3 ай бұрын
와 선생님은 최고야 ㅠㅠㅠ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@AliElZoheiry
@AliElZoheiry 3 ай бұрын
감사합니다! 선생님께서 이 내용이 도움이 되었다니 저도 정말 기뻐요 🙏
@Restart-Gaming
@Restart-Gaming 9 ай бұрын
You are doing some great work I have seen some of your videos. Will this setup work if there is more then 1 enemy
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Thank you! It will "Work" with multiple enemies, but it's not yet optimized for groups to attack, that will be the topic of a later video (possibly even the next video, but I haven't decided yet)
@Restart-Gaming
@Restart-Gaming 9 ай бұрын
@AliElZoheiry thanks you are doing AAA work keep it up
@user-hg7oq2hc4k
@user-hg7oq2hc4k 5 ай бұрын
Thanks for your tutorial man, it helps a lot to me as an intro to learning UE's blueprint. But one thing that I don't quite understand might be why exactly you clear the timer before starting a new one in the lostSight event. Because in my mind if the enemy's in a situation which it's attacking player and on the way of doing so it passes another "player", wouldn't this make the enemy trigger HandleLost Sight again and then clear the timer on the current player that the enemy is chasing and starts the timer on another player instead?(which makes your condition check on whether the target is seen again kinda useless.)
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Hey, you're welcome man. Let me explain why I do this clear timer. It's common practice when dealing with timers to always make sure that when starting a new timer, you don't already have one running if you want to override it, otherwise it doesn't get overridden and the old timer continues normally. It's an edge case, and most likely won't happen, but always good to prepare for it anyway
@itsroachtime5243
@itsroachtime5243 5 ай бұрын
Hi there!))) I believe this "In the air defect" you've mentioned (27 min) could be produced if you jump off the platform and then promptly jump back on the platform. (I mean jump here and there promtly!) In this case AI jumps off the platform and than promtly makes a jump back WITHOUT TOUCHING THE GROUND.
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Hmm… can’t seem to reproduce it, but I think it’s fair to say that the Nan link jumps need some refinement to work as expected, they don’t really do everything they are supposed to out of the box
@derakon4791
@derakon4791 9 ай бұрын
Wow firs time see in tutorials jumping enemy ai
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Well I promised to make them smart 😅
@adrianites
@adrianites 6 ай бұрын
i have a question. at 11:30 do you have to change the arc param to a higher number inside the suggested projectile velocity custom arc node? when i have it at 0.5 my character loses all of its momentum straight away once it jumps and it basically gets stuck in a jumping loop trying to get up to the player. btw i love this series thank you for making it!
@AliElZoheiry
@AliElZoheiry 6 ай бұрын
Hey Adrian, This function is a bit finicky indeed, you have to play around with the values a bit to find what works for you, or if you want a more specific calculation, you can do the parabolic math yourself, but for me, I found that the default Arc value of 0.5 works well for when the enemy is close (within 500 units from the target), but then for my boss fight, I will be changing it to 0.95 for the boss enemy, because the boss jump from very far away (2000+ units away) so 0.95 makes him jump almost in a straight line to the player. Summary: The further away the target, the higher you will need to make your arc value (which will decrease the arc angle)
@adrianites
@adrianites 5 ай бұрын
thank you for your reply it helped me out a lot! looking forward to your boss fight video!
@user-bj8bs3rg5q
@user-bj8bs3rg5q 2 ай бұрын
Как же ты крут!
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Спасибо за добрые слова! Рад, что тебе нравится контент!
@Imtinan.ACEDIA
@Imtinan.ACEDIA 3 ай бұрын
Really enjoying your videos, really helping me out. I need to ask something, My AI starts Jumping while not facing towards the navlink proxy. So, it keeps jumping in the air and doesn't get anywhere. Can I get any suggestion on fixing it?
@AliElZoheiry
@AliElZoheiry 3 ай бұрын
Hey there, glad you're finding this useful 🙏 Not sure what the problem is that you're facing, but if you're on v5.3 of unreal engine, I heard it has some issues with the launch character function and needs some adjustments to the impulse values
@Imtinan.ACEDIA
@Imtinan.ACEDIA 3 ай бұрын
Okay, let's see when Epic fixes Launch Character functionality, Do you have any suggestions for how to implement it manually? @@AliElZoheiry
@AliElZoheiry
@AliElZoheiry 3 ай бұрын
You can use a different node other than launch character, you can try to calculate the trajectory manually and update the position of the enemy overtime following that trajectory using set location and timelines. Although more complex, it will be much more precise since it doesn't deal with physics ​@@Imtinan.ACEDIA
@Imtinan.ACEDIA
@Imtinan.ACEDIA 3 ай бұрын
Great, I'll try it and see how it gooes.@@AliElZoheiry
@LEE-uk9pm
@LEE-uk9pm 4 ай бұрын
Thank you for your awesome tutorial videos. I would like to implement a way for a character to jump through a link when the character has the jump skill and is not on cooldown, and to move along a different path when the character does not have the skill or is on cooldown. I don't want the navmesh to tell him that there is a path on the link side even though he can't jump like at 8:24. How can this be implemented?
@AliElZoheiry
@AliElZoheiry 4 ай бұрын
You either remove the nav link from the level when the jump is on cooldown, so that it doesn't show up during navigation at all. Or, you have the AI move to a custom location when they can't jump (thus not taking the default shortest path)
@notrain5455
@notrain5455 Ай бұрын
Chad, thanks sir
@AliElZoheiry
@AliElZoheiry Ай бұрын
You're welcome, glad I could help!
@BoryslavF
@BoryslavF 2 ай бұрын
Thanks for this great tutorial. I have a small issue with the jump. For some reason the AI isn't consistently jumping with the same intensity each time. Sometimes they jump short, sometimes they fly way too high. I'm not sure what could cause this. In my case the gravity scale is 3, so I plugged -980 x 3 into the gravity override to make it match the character's so it works, just not consistent. Unsure if it's related.
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Make sure that the "override XY Z" are checked on your "Launch character" function. Otherwise, the initial velocity of the character will be added to your jump velocity
@BoryslavF
@BoryslavF 2 ай бұрын
@@AliElZoheiry Of course it was something as small as a check box. Thanks for that!
@y.s753
@y.s753 9 ай бұрын
The reason the enemy jumps to their stomach if you don't add 250 is because the root of the capsule is at the center You can add the capsule half-height instead of 250 so that the algorithm is adapted to all enemy sizes.
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Indeed, I explained in the video that they jump to the root of the capsule, but what I didn't explain is that simply add the half height of the capsule won't be enough, because it doesn't account for gravity as well, so if you want a super precise jump calculation, you'd need to calculate the parabolic arc manually, but this is a close approximation
@y.s753
@y.s753 9 ай бұрын
​​​​​@@AliElZoheiry i meant you can add it to the end location instead of the launch vector
@liamklein5333
@liamklein5333 4 ай бұрын
How would I do this is in a large map base building game? It’s not possible to put thousands of Nave Links across the map, and a player built base would not have NavLinks either
@AliElZoheiry
@AliElZoheiry 4 ай бұрын
You can always add those navlinks programatically as part of another actor, or you can create your own version of the nav link, but then you'll need custom path finding and navigation algorithms.
@user-im8jj1go6c
@user-im8jj1go6c 5 ай бұрын
I have Question. I try to same way but Link Proxy's Event "Recieve Smart Link Reached" is not firing. Have you ever encountered the same problem?
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Make sure you are using the smart link not the simple link and that "Smart link is relevant" is true in your navlink actor BP
@arescaelum9251
@arescaelum9251 3 ай бұрын
Make sure you also right clicked and typed in Event Smart Link Reached. if you did it by clicking the + like he originally did, but he deleted it, what it does is create a event that you have to bound in your begin play for it to trigger.
@rlb1968able
@rlb1968able 7 ай бұрын
Would this work in such a manner to where I can make an enemy punch a wall break it and then walk through it and follow the player?
@AliElZoheiry
@AliElZoheiry 7 ай бұрын
Yeah that would work nicely, instead of calling a jump function you can call your destroy wall function, and the AI will try to continue walking through
@24pfilms
@24pfilms 9 ай бұрын
Is there an approach to this where it does not use Nav Mesh/Link as sometimes the enemy can trip up or be clunky on the nav mesh.
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
The alternative approach is to create a custom actor (like a nav link) yourself and have the enemy look for them and go to them (Using an EQS maybe) when the player is unreachable (which you will also have to continuously check yourself) and then once there you tell the enemy to jump.
@polymaniac
@polymaniac 6 ай бұрын
You could do a line trace on the AI. if it traces something in front, you could trigger a jump. That would be more efficient as you don't have to manually adjust the nav link. The AI would automatically detect if can jump or not.
@zipzapper9356
@zipzapper9356 9 ай бұрын
Can you show me how to set up a team, such as 2v2 or 3v3,AI of the same type can detect teammates without attacking them
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
Hey Zip, yeah that's a great idea, I have it planned in one of the next parts, I'll be setting up a team variable so that enemies know who's a friend and who's a foe, and I'll also be covering group combat
@driftmirror
@driftmirror 5 ай бұрын
Not sure what exactly the problem is, but getting up from a lower platform to a higher one, the AI either barely makes it, or lands short. It never gets close to the actual end point going from lower to a higher position. Any ideas on why it's not launching the enemy with enough force?
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Well one thing to note about the launch character function is that it is subject to "Ground friction" and "Air drag" and all other physics forces working on the capsule. So it won't be very accurate all the time, if you want it to be consistent, then you can try disabling ground friction (by setting it to 0 on the character movement component) right before the jump, and restoring it's value after the jump
@driftmirror
@driftmirror 5 ай бұрын
@@AliElZoheiry Thanks! Good to know. I appreciate the help!
@thecrypticlk
@thecrypticlk 5 ай бұрын
Hi, i have been following this amazing series. I only encountered a problem now, I don not have the event on landed at 28:00. Is it because I am using ue4.27? Anyone maybe know why? Thanks
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Hmmm… Not sure if it’s a UE5 thing or not, I assume it should be in UE4 as well, but I haven’t tested it in UE4 to be honest
@thecrypticlk
@thecrypticlk 5 ай бұрын
@@AliElZoheiry Oh okay, thanks. I cant seem to find it anywhere but I think I have found a work around. Also I just want to say thanks so much for these tutorials, they are the best tutorials I have seen on YuTube so far, you explain everything so well and clear. These tutorials are really amazing!
@electronicinfection
@electronicinfection 10 күн бұрын
I have the break vector 3f missing. Just the regular break vector. UE 5.4 here.
@AliElZoheiry
@AliElZoheiry 9 күн бұрын
I haven't tried 5.4 but it shouldn't be any different, since this is a very basic function
@electronicinfection
@electronicinfection 9 күн бұрын
@@AliElZoheiry The automatic animation retargeting in 5.4 is pretty amazing. You have to try it.
@marvinthadnacionales3459
@marvinthadnacionales3459 9 ай бұрын
Hi thanks a lot for the series bro, I have a request and hope you can cover. I want an AI targeting that same as MOBA games, example, an AI attacks a chair blueprint that's along his path and simulates physics when destroyed then AI goes back to its original path. Every tutorial covers AI attacking players so I find it hard to learn.
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're most welcome 🙏Regarding your question; by default the perception system is only set to perceive "pawns", so if you want your enemy to attack an object, then you'll have to make sure that object is of class pawn. Otherwise you'll have to edit the perception system yourself (in C++) to allow the AI to sense other types of actors. Alternatively, you can do "Perception checks" yourself, without using the AI perception component, by using the EQS, you can filter for specific actors that are in line of sight of the AI, and then you can set your AI to attack that actor. I'll consider doing a future video on that
@marvinthadnacionales3459
@marvinthadnacionales3459 9 ай бұрын
@@AliElZoheiry Thank you so much for your response, highly appreciate it and I'll work on it
@gameclub_ir
@gameclub_ir 4 ай бұрын
دمت گرم
@AliElZoheiry
@AliElZoheiry 4 ай бұрын
Thank you! Glad you liked it 🙏
@TheAngryRubberDuck
@TheAngryRubberDuck 6 ай бұрын
at 5:53 there is a good pun
@AliElZoheiry
@AliElZoheiry 6 ай бұрын
Hahahaha, it was not intended 😅
@yingmo8041
@yingmo8041 5 ай бұрын
真的很棒,你上个视频说要加上转身,没有看到
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Glad you liked it. I talked about adding a turn indeed, but I didn't end up doing it
@essa4436
@essa4436 9 ай бұрын
❤❤❤❤
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
❤️
@neritonreis3340
@neritonreis3340 5 ай бұрын
Friend teaches you how to make a shark enemy and have it swim in the water and attack the player
@AliElZoheiry
@AliElZoheiry 5 ай бұрын
Hey! Thank you for the suggestion, i'll definitely consider swimming/flying enemies future tutorials
@patricktoussaint6038
@patricktoussaint6038 4 ай бұрын
(Solved) (This is addressed at 18:20) Really loving the series! I'm having a bit of an issue with this one where for some reason sometimes when my AI gets to the nav link he jumps then faces the wrong direction and jumps straight back down/ just loops jumping. has anyone else had this issue or know what might be going wrong?
@AliElZoheiry
@AliElZoheiry 4 ай бұрын
Hey Patrick, thanks for your comment and I'm glad it's solved, was it indeed a UE 5.3 issue?
@patricktoussaint6038
@patricktoussaint6038 4 ай бұрын
Thanks for responding Ali! The UE5.3 issue is actually with the DetourCrowd AI controller. i haven't solved that one yet unfortunately. its weird though as in project files from your patreon it doesn't seem to be an issue at all. not sure why but it completely wrecks the Navlinks. Character just gets stuck in a loop of jumping. Any idea how to fix this? was just going to use the normal AI controller until i can work it out if not. i can upload a video or something on the discord if that would help :) Thanks @@AliElZoheiry
@bofen22
@bofen22 3 ай бұрын
Did anyone manage to solve this? Have the same issue with DetourCrowd AI controller. Enemy goes straight back to the navlink midair and keeps jumping. @@patricktoussaint6038
@lifeoftraderlot5647
@lifeoftraderlot5647 9 ай бұрын
Why two videos hidden bro? Are they premium
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
I have no idea, I don't have anything hidden, and KZbin doesn't show me otherwise. I think it's a bug in KZbin
@BooneyianLogic
@BooneyianLogic 6 ай бұрын
My AI only jump straight up and down, has anyone else run into this?
@AliElZoheiry
@AliElZoheiry 6 ай бұрын
Hey, I replied to your other comment on video 15
@treblath1995
@treblath1995 9 ай бұрын
Thanks and blesses for this content!🫶
@AliElZoheiry
@AliElZoheiry 9 ай бұрын
You're very welcome 😁
@pleasantlygrim6712
@pleasantlygrim6712 2 ай бұрын
If anyone has a bug where the AI stops looking at the player then make sure to go into the behavior trees and set the BTT_Focus to the correct target. When editing the BTT_Focus task all the focus tasks in use reverted to self actor for me.
@AliElZoheiry
@AliElZoheiry 2 ай бұрын
Thanks for sharing this tip! It can definitely come in handy for others experiencing a similar issue. this is an unfortunate bug in unreal engine. If it keeps happening I found that deleting the node and adding it again often prevents it from happening again
Dynamic NavMesh With Nav Modifiers Only; UNREAL ENGINE
10:01
GamingDev2020
Рет қаралды 3,7 М.
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 23 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
The Most Common Mistake Beginners Make in Unreal Engine | UE5
12:17
Ali Elzoheiry
Рет қаралды 85 М.
Unreal Engine: Blocking & Parry Test
0:41
Hagakure_UE
Рет қаралды 2,3 М.
Why Dependencies are Bad and How To Avoid Them In Unreal Engine | UE5
26:40
Три криперёнка в minecraft! 😱
0:29
ТИТМАУС
Рет қаралды 1,5 МЛН
Minecraft: Who was the best? 🤔 #Shorts
0:29
Twi Shorts
Рет қаралды 43 МЛН
LEGENDARY MUTATION EGG?! #brawlstars #legendary #starrdrop #mythic #viral
0:23
Baby Tvman Passes Mrbeast'S Test And The End 👍️
0:37
BigSchool
Рет қаралды 13 МЛН