Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • car-ai part2_a.zip

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

Part 2 of the Race Car AI is now available on Youtube. 

The code for this project is located on the first post https://www.patreon.com/posts/car-ai-tutorial-51162606 and has been updated with the new features.


Files

Previews only

Avoidance in how to create an AI Bot Race Car Controller in Unity tutorial Part 2

Download complete Unity project 👉 https://www.patreon.com/posts/code-access-how-53948311 This is the 2nd part of our Car AI in Unity from scratch. If you missed part 1 you can view it here: https://youtu.be/vsPzo7IVTHw In this part of the video you will learn how to avoidance to your Car AI. This will avoid other cars and will also make it possible for the AI to overtake other cars. We will also add mouse steering support to our AI steering behavior. AI avoidance is often a trick area but we'll use a few tricks to make it really easy and efficient which allows you to use lots of cars as it won't require much performance. It is mostly aimed at arcade racing AI but also works in traffic. The same technique can also be used for AI in other vehicles. In this video series I’ll show you how to create a simple car AI (Artificial Intelligence) in C# Unity which is built for 2D Games but also works in 3D. You can use the same technique to avoid obstacles in other types games. With this tutorial series you’ll be able to make a physics based race game with AI and lots of drifting in no time in Unity. AI in general is often a challenge for a lot of developers but with this as a base you'll be able to get started right away. This example is based on our top down car controller which you can learn how to make in this video https://youtu.be/DVHcOS1E5OQ If you want to try a game which uses this car AI mechanic then feel free to take Total Arcade Racing for a spin on Nintendo Switch: https://www.nintendo.com/games/detail/total-arcade-racing-switch/ or Steam: https://store.steampowered.com/app/1264730/Total_Arcade_Racing/. 📍 Support us on Patreon to help us make more videos like this one https://www.patreon.com/prettyflygames This component is used in Total Arcade Racing which you can play on Steam ► https://store.steampowered.com/app/1264730/Total_Arcade_Racing/ Nintendo Switch ► https://www.nintendo.com/games/detail/total-arcade-racing-switch/ PlayStation ► https://store.playstation.com/en-us/concept/10005454 Xbox ► https://www.xbox.com/en-us/games/store/total-arcade-racing/9p0rz0wclmfm Join Our Community! We look forward to welcoming you. Discord: https://discord.gg/AyYtKXT Twitter: https://twitter.com/prettyflydev Music: https://incompetech.com/wordpress/2019/06/2246/ Chapters: 00:00 Intro 00:10 Support us on Patreon 00:30 What we'll cover 00:42 Mouse steering support 03:18 Avoidance AI explained 06:28 Detect other cars 15:15 Avoidance AI steering behavior 20:03 Improved AI avoidance with waypoints 25:41 Smooth out jitter 27:11 Next video 27:38 Example - Total Arcade Racing #PrettyFlyGames #LearnUnity #UnityTutorials #gamedev

Comments

No comments found for this post.