GridVids
Sign in with YouTube

AI Car - Unity Hybrid ECS/DOTS

Forging Station Jul 11, 2020 14:51
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

In this video, we will explore and build a simple AI-controlled system for our vehicle / Car. This is built upon our previously developed code. If you have not seen my previous video, please watch it now!!! as it is essential to understand what we will be doing. Here is the link -  Unity Hybrid-ECS Car Controller - https://www.youtube.com/watch?v=f0viJi8vi5I&t=71s We will use Unity's new Navigation system, and follow a NavMesh agent around the terrain, however, our code and physics will control the vehicle. We are also going to explore and calculate the commonly used Inverse Transform Point using Unity Mathematics - essential to steer our car in the right direction. I have tried to keep the explanation around the inverse transform point, Local To World Matrix & Matrix transformation as simple as possible. (In fact very simple when I say its a Matrix. There is a lot going on in the background and explaining that falls out of the scope of this video) This is an excellent use case demonstrating how classic Game Objects can be mixed with Unity ECS/DOTS in a hybrid fashion to achieve desired behaviour. Source code (only) can be found here - https://github.com/ForgingStation/AI-Car---Unity-Hybrid-ECS ************************************************* Terrain textures - https://www.textures.com/ Procedural Terrain - Map Magic 2 - https://assetstore.unity.com/packages/tools/terrain/mapmagic-2-165180 Introduction to Unity Mathematics - https://www.youtube.com/watch?v=u9DzbBHNwtc *************************************************
Science & Technology
#Unity ECS #Unity Dots ##Unity2020 #Unity Hybrid ECS #Unity AI #Unity AI tutorial #Unity AI Pathfinding #Unity AI Movement #Unity Car AI #Unity car controller #Unity Navmesh #Unity Navmesh Agent #Unity Navigation #Unity Navmesh Tutorial #Unity Terrain #Unity AI Car Tutorial #Unity Navmesh AI #c# #Unity #Artificial Intelligence #Game Development #Unity Hybrid DOTS #Unity Hybrid DOTS ECS #Unity Hybrid ecs #GameObjects with DOTS-ECS