Тёмный

Unreal Engine AI Vehicle Tutorial 2: Avoiding Obstacle System 

jourverse
Подписаться 7 тыс.
Просмотров 2,4 тыс.
50% 1

In the second part of our Unreal Engine AI Vehicle tutorial series, we delve into the implementation of the A* algorithm for obstacle detection and avoidance. This tutorial will guide you through detecting obstacles, mapping them with a grid, and creating new paths for the AI vehicle when it encounters obstacles.
Playlist: • Vehicle AI Unreal Engine
A* Algorithm Plugin: drive.google.com/file/d/1bEcp...
Project Download: / project-file-ai-105811761
While Unreal Engine’s default Nav Mesh system is powerful and suitable for many standard AI navigation scenarios, this custom approach offers significant advantages for the vehicle:
-Customization: Tailoring obstacle detection and path creation to specific needs.
-Dynamic Adaptability: Mimicking human-like decision-making, where awareness of the entire environment isn't assumed, can lead to more dynamic and realistic AI behavior.
-Optimization: Efficient updates and selective tracing enhance performance in large-scale or real-time generated environments.
If you enjoyed this video, please give it a thumbs up and leave a comment below. Don’t forget to subscribe to my channel for more Unreal Engine tutorials. Thanks for watching!
Chapters:
Intro: (0:00)
Add A* Algorithm: (0:44)
Detect Obstacle: (9:23)
Map Obstacle with Grid: (18:52)
Debug Array's Index: (43:08)
Find Start Point: (49:25)
Find Goal Point: (55:10)
Create New Spline: (1:05:00)
Vehicle Arrived at Goal Point: (1:16:38)
Overlap Obstacle Detection: (1:23:40)
Goal Point can't reach: (1:32:05)
Result: (1:39:04)

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

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@crazyguy7585
@crazyguy7585 Месяц назад
amazing man that's is really helpful i love ur tutorial very impressive as always🥰🥰😍
@jourverse
@jourverse Месяц назад
Thank you so much! I'm glad you found the tutorial helpful.😊
@matematicher
@matematicher Месяц назад
Ohh man! It will work for my project very well! Thank you for the video
@jourverse
@jourverse Месяц назад
You’re welcome.
@Kev_5F_
@Kev_5F_ Месяц назад
Can't wait to implement it to my first game, you're the best!
@jourverse
@jourverse Месяц назад
Thank you.
@Captainpanda2080
@Captainpanda2080 Месяц назад
Amazing tutorial. How scalable is this system? How many instances can be run before the game thread is bogged down? Keep on the good work!
@jourverse
@jourverse Месяц назад
The system's scalability depends on how large of an area you want the vehicle to detect obstacles. For me, a 16 by 16 area is enough. I think this system is highly scalable. I don't know how many instances can be run simultaneously. I'll do the profiling and testing after I finish the full vehicle AI.
@ganeshjr6897
@ganeshjr6897 19 дней назад
Great amazing tutorial man, can you please guide me on how can use this obstacle detection and avoidance for NPC Mass AI crowd? Do I really need this Algorithm from c++ for NPC AI crowd?
@jourverse
@jourverse 19 дней назад
NPC Mass AI crowd is a different topic. This system is tailored specifically for use in cars only.
@DAKODA190
@DAKODA190 Месяц назад
I have a question about your destructible vehicle package is their any way to get it running with als refactored
@TheMINDL3SSGamers
@TheMINDL3SSGamers День назад
Not sure about refactored but it runs well with the blueprint version of ALS. The animations need to be fixed of course. And that’s the only problem really, although I was having character possession issues and had to use a work around.
@DAKODA190
@DAKODA190 День назад
@@TheMINDL3SSGamers I’d try
@geanmarcosloffi
@geanmarcosloffi Месяц назад
Does the plugin work on Unreal Engine 5.2?
@jourverse
@jourverse Месяц назад
I think it work on every Unreal Engine version.
@mahkhardy8588
@mahkhardy8588 8 дней назад
The Algorithm plugin is compiled for v5.4?
@jourverse
@jourverse 8 дней назад
@@mahkhardy8588 Thank you. Yes, it is for any version of Unreal Engine including unreal engine 5.4.
@jourverse
@jourverse 8 дней назад
@@mahkhardy8588 We create new C++ class to convert blueprint project to C++ project. You can delete c++ character after you created it. Or you can choose C++ when you first create the project, so you don’t need to create new C++ class.
@aryansingh1047
@aryansingh1047 Месяц назад
Can you make Ladder with animation tutorials without casting node. I really need this tutorial ❤
@ArmadaWixxi
@ArmadaWixxi Месяц назад
Lol why without casting node? What kind of super specific nonesense request is that? XD Do you even know what a casting node is bro? lol
@aryansingh1047
@aryansingh1047 Месяц назад
@@ArmadaWixxi I know that's why request tutorials without casting node, I think you don't know disadvantage of casting node. Go study about casting node.
@keshavraj2079
@keshavraj2079 Месяц назад
@@ArmadaWixxi casting node take much performance of ur game if u don't know if u hover ur mouse on cast node u can see the description that say this node is expensive.
@keshavraj2079
@keshavraj2079 Месяц назад
you can use blueprint interface is this .
@aryansingh1047
@aryansingh1047 Месяц назад
@@keshavraj2079 yaa, but I need proper tutorial for beginners. Can you make tutorial for me ❤️
@BambangPekok
@BambangPekok Месяц назад
hey bos do you from thailand?
@jourverse
@jourverse Месяц назад
I'm from Cambodia. I studied in Thailand for a year. I've been back in my country for four years now.
@tlpue5
@tlpue5 Месяц назад
or just use unreal's default nav mesh
@jourverse
@jourverse Месяц назад
While Unreal Engine’s default Nav Mesh system is powerful and suitable for many standard AI navigation scenarios, this custom approach offers significant advantages for the vehicle: -Customization: Tailoring obstacle detection and path creation to specific needs. -Dynamic Adaptability: Mimicking human-like decision-making, where awareness of the entire environment isn't assumed, can lead to more dynamic and realistic AI behavior. -Optimization: Efficient updates and selective tracing enhance performance in large-scale or real-time generated environments.
@tlpue5
@tlpue5 Месяц назад
​@@jourverse recently i maked a vehicle ai that follows you (like gta police car) and its worked pretty good with unreal's nav mesh
@jourverse
@jourverse Месяц назад
@@tlpue5 I always use nav mesh for other AI. I watched some videos about self-driving cars recently, so I want to try using a sensor approach.
@ArmadaWixxi
@ArmadaWixxi Месяц назад
This system would be very handy for the ship AI in my game. Ships sail on water. Unreal nav mesh can't be used on water and not on the scale I need. This man's system could be a good solution for my usecase.
@tlpue5
@tlpue5 Месяц назад
@@ArmadaWixxi yes unreal's navigation is grounded i mean you cant use it for flying ai like bird and as you say ship ai but there is a free 3d pathfinding system by nonstatic
Далее
Learning Unreal Engine in One Month to make a Game!
15:25
🛑 до конца!
00:12
Просмотров 81 тыс.
БИМ БАМ БУМ💥
00:14
Просмотров 3,6 млн
😱КТО БУДЕТ ЛЕДИ БАГ А4⁉️ #а4
00:50
Animating Huge Crowds in Blender - Lazy Tutorials
1:01
AI Cars learn to drive - UE4 Blueprints
9:15
Просмотров 39 тыс.
Can you smooth out 3D Prints with Beeswax?
13:11
Просмотров 8 тыс.
I Made a Racing Game with No Experience
19:26
Просмотров 1 млн
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Просмотров 498 тыс.
🛑 до конца!
00:12
Просмотров 81 тыс.