In this tutorial, we’ll integrate a procedural road network with vehicle AI, enabling it to understand the road network and avoid obstacles in real-time. This system is ideal for driving simulations, open-world games, or any project that requires dynamic vehicle AI.
Project Download: https://www.patreon.com/posts/project-file-ai-112102092
Playlist: https://youtube.com/playlist?list=PLg8qOa5gnZ3AU4EqWBcc0Y_Om_M3XCe6Q&si=BNhi5AonyaqQeME7
80lv Article: https://80.lv/articles/try-this-procedural-road-network-with-vehicle-ai-ue5-demo/
Road Network Tool Plugin: https://drive.google.com/file/d/1xruLqH7baE3LwgYe4Kmnj9UwIf_HUNte/view?usp=sharing
Road Pathfinding Component: https://github.com/sengchor/RoadPathfindingComponent
Box Mesh Download: https://drive.google.com/file/d/10w_zCNOoEE7dMTj1HzDZEoU9XnEl6RAI/view?usp=sharing
If you find this video helpful, make sure to like, subscribe, and hit the notification bell for more Unreal Engine tutorials. Thanks for watching!
Chapters:
Intro: (0:00)
Add Road Network Tool: (0:58)
Road Pathfinding Component: (8:21)
Road Mesh Generator: (12:02)
Debug Width & Road Width: (41:33)
Find Path Road Network: (1:00:25)
Refine Path With Mid Points: (1:19:03)
Visualize Spline Path: (1:29:08)
Use Trajectory for Obstacle Detections: (1:47:40)
Outro: (1:59:00)
Voir sur youtube