For those following the tutorial who are new to Unity3D. Adding the box collider to the ground object is an essential step. The tutorial makes it seem optional during explanation of what "Use geometry --> physics colliders" setting of the navemeshsurface component does (2:19), but it's latter required for the raycast to hit the floor. If you forget this step (like I initially did) you will only be able to move your player by clicking the player during play mode.
@MaxBabilunga6 жыл бұрын
man, thank you! It really does look like it's optional
@InnovativeWorld6 жыл бұрын
Life Saviour... Thanks
@ashrafshah85766 жыл бұрын
Thanks! You saved my time
@afzainizamzahari6 жыл бұрын
thanks so much!
@vasheer266 жыл бұрын
Thanks man!
@lindseyscruggs83032 жыл бұрын
Man, I miss this guy. Out of all the unity tutorials I went through, this guy had the clearest explanations, was the most entertaining and, in general, his positive, supportive attitude bolstered my confidence with something I thought I would never be able to do. He is the best teacher anyone could ask for and an inspiration.
@lights6040 Жыл бұрын
me too fr
@amosf.2780 Жыл бұрын
so true.....
@Lost_inTime Жыл бұрын
He was the like the god of tutorials for Unity R.I.P Brackeys we will miss you
@bsythdd4754 Жыл бұрын
@@Lost_inTime what?! he passed away? when?
@TripleAAA_54 Жыл бұрын
he didn't he gave up his youtube career@@bsythdd4754
@TheCurious365 жыл бұрын
thank you so much dude. Literally when im trying to make a game, I'm like, "Dang I need a way to make AI that can navigate the world" and bam, a navmesh tutorial pops in my recommended, you're a life saver man!
@ckay78164 жыл бұрын
Im gonna put Brackeys in the credits of all the games i make
@colsanders75714 жыл бұрын
me too. I kind of have to. he pretty much made the game with all the tutorials.
@gelis074 жыл бұрын
He deserves it
@blenderanimator63754 жыл бұрын
Yas
@denismedzmariashvili2594 жыл бұрын
He will strike
@roshdyessam34804 жыл бұрын
Me too
@youknowedo6 жыл бұрын
wow Sponsored by Unity You’re doing Unity bro!
@cheesepuffman23946 жыл бұрын
Filip Mårtensson b
@cheesepuffman23946 жыл бұрын
P
@cheesepuffman23946 жыл бұрын
Bibb. B
@cheesepuffman23946 жыл бұрын
B boll slow owl
@ShubhamSharma-be5bw6 жыл бұрын
Unity should keep sponsoring him.
@itsnotbloodborne12375 жыл бұрын
Updates: Instead of Baking your NavMesh his way, Unity has now integrated it into to the main toolbar under "Window", AI > Navigation. From there, navigate to the Bake tab, press bake, and youre good!
@Oli_Thompson6 жыл бұрын
Your videos are incredibly helpful! Been learning Unity for about a month now and wouldn't be close to where I am right now without your content. Thanks man!
@abdulahadtayyab73842 жыл бұрын
chuk ke rakho
@SilverHaze5X6 жыл бұрын
Holly molly.. just when i need it.. No wonder your videos are now sponsored by Unity, you're doing a great job at teaching people how to use it well !
@Hotseewt6 жыл бұрын
I swear u scare me. You always make tutorials when I need to learn something for my game...
@manmen96006 жыл бұрын
Miguel Montero lol
@TomDillon136 жыл бұрын
Same here lol
@ykingshyper65366 жыл бұрын
same here :D
@tonitbh6 жыл бұрын
Me 2
@karimballan84906 жыл бұрын
i was just talking about it..
@V0LAT1LE_ Жыл бұрын
Legend has it that brackeys will return one day
@blacknwhite13137 ай бұрын
and yup he is here
@matthewspencer66696 жыл бұрын
Your simple scenes always look so beautiful. You should do a tutorial just on the post processing you use for a scene like this.
@lens39734 жыл бұрын
I know this is old BUT PLEASE DO THIS
@zionen014 жыл бұрын
Excellent tutorial on yet another great feature. I really appreciate how much Unity does, I gave building my own engine a go for about 8 months and it is a ton of work, finally caved into Unity and I'm glad. Now I really appreciate all these little things that the engine does.
@user-dm1pr2qn5c3 жыл бұрын
about yyou building yyour own engine, thats fire. what inspired that?
@pirulainen9915 жыл бұрын
I have to say, thanks a bunch Brackeys for your effort to put together such informative tutorials! I have learned so much from you, getting a better and better game designer. So once again, a big thanks!
@Crashtopher6 жыл бұрын
Nice video as usual. Initially I did not add a box collider to the ground as he did because the NavMesh was using geometry rather than physics colliders to bake. However, it took me a minute to realize this breaks the raycast from the camera to the mouse position because the object needs a collider for the raycast to return true. Just a tip if your NavMeshAgent seems unresponsive to input.
@FredrikBusklein6 жыл бұрын
Thanks man, couldn't figure out why it didn't work, now I just feel dumb.
@EritoKaio6 жыл бұрын
Brackeys, you're a life saver. Thank you so much for all these tutorials.
@danishsinha4016 жыл бұрын
I think he should really be making official Unity Tutorials I really find them boring and I love the way he explains everything. Crisp Clear with detail and good examples. @Brackeys Thanks Alot!
@farziverse4209 Жыл бұрын
remember to install AI navigation from package manager
@silentiumdingo6 жыл бұрын
Im so glad I found your channel I was locked in a box not knowing where to move on to next till I watched some of your tutorial/walkthrough videos and now I know where to go and how to actually use unity I couldn’t hang on to most of the other instructors but I understood you perfectly and I thank you so much you’ve inspired me to keep making games and learning different coding languages. Again thank you
@hidemat51414 жыл бұрын
Also, don't forget to add a collider to your terrain, otherwise the Ray won't hit anything.
@igorklukin41263 жыл бұрын
That's what missed! Thank you for the comment. I skipped that part, because it looked like Brackeys made a collider just to show that it also could be used in NavMesh Baking.
@metinyldran3663 жыл бұрын
Thank you!
@salvatorebutera74535 жыл бұрын
Three days struggling with this ...Brackeys always saves my life!
@SAW106 жыл бұрын
sponsored by unity? aweasome!
@nalig-fortnite47186 жыл бұрын
I really like that you put alot of work in the scenes you make before you start the video. That's why you are my favorite youtuber that does tutorials! keep up the good work
@paspiregamer51146 жыл бұрын
Very nice you get sponsored be unity 😉
@crownprincetaze4 жыл бұрын
Love your channel. Might need to update this video since NavMeshSurface no longer exists in Unity 2020. Keep up the awesome work!
@cyanberry56032 жыл бұрын
question: how do you access the navmeshsurface component? I can't find it anywhere
@brethogan38322 жыл бұрын
So they kind of changed where to find it. There is a simple version you kind under: window - AI - Navigation. To find the more advanced version Brackeys is using here, in the Navigation menu, there is an experimental package URL at the bottom of the window.
@bratpfanne82322 жыл бұрын
@@brethogan3832 Thank you for that!
@kozavr Жыл бұрын
navmeshsurface component doesn't exist anymore
@whupps Жыл бұрын
@@brethogan3832 omg thank you
@pythonian9977 Жыл бұрын
@@brethogan3832 Thanks
@thalesGog6 жыл бұрын
You have the best channel for Unity Developers (Specially for beginners like me). Thank you so much!
@lukaasg34766 жыл бұрын
Would you ever do a video to save any game? That would be terrific :)
@Mr.Adhesive6 жыл бұрын
sulindvas for now, Google player prefrences... It's extremely easy to use. If you need help just reply and I will try my best to answer any questions you may have.
@stephansetup62386 жыл бұрын
I personally found this quite helpfull. This goes over Player Preferences as well as Serializing to Json. It helped me understanding the Pro's & Cons of either option kzbin.info/www/bejne/Y5ekonWEmqqKoNU
@medhavimonish414 жыл бұрын
You are gone for 2 months and still helping us out
@jackpeterson19096 жыл бұрын
"Coding your own games is easier than you think." Anyone?
@kitthekat68446 жыл бұрын
It kinda is.
@Coda026 жыл бұрын
yea that anoying ad
@LeMustache6 жыл бұрын
"You know what?"
@rgizinski6 жыл бұрын
I allways mute it.
@ignat77406 жыл бұрын
Nope.
@chetmcgovern99856 жыл бұрын
Few months late but fantastic stuff. Brackeys is the best.
@Denissheferf5 жыл бұрын
i dont have navmesh surface
@donhelfrich69105 жыл бұрын
Hi Julia. You have to download the component from github.com/Unity-Technologies/NavMeshComponents and copy it to the Assets folder of your project.
@saltyegg42045 жыл бұрын
@@donhelfrich6910 thank you so much! i though i had to create one by myself you saved my times!
@jiakhan5 жыл бұрын
The video is outdated
@jareevoldemort23735 жыл бұрын
@@jiakhan so? Has unity changed 🤔
@dmudda905 жыл бұрын
@@donhelfrich6910
@HappyTimesWithHank5 жыл бұрын
bruh. This channel has the best videos for early beginners! Thanks too much!
@igorthelight6 жыл бұрын
New insult unlocked: "I'l bake you like a navmesh!" :-)
@mineeagle26513 жыл бұрын
Ezequiel Ciamparella n o
@terrybuchan75686 жыл бұрын
Seriously the best Unity tutorials on KZbin! So easy to follow! Thank you
@ktsp25386 жыл бұрын
There is no Nav Mesh Surface on mine
@VideosMarkin6 жыл бұрын
0:47
@johnhunsberger95676 жыл бұрын
It's in the "Example project" link. #1. Download project from GitHub. #2. Navigate to Asset Folder. #3. Copy the NavMeshComponents folder into your Unity project.
@minnimangaming76846 жыл бұрын
Thanks man
@Broski6826 жыл бұрын
Hi sorry to restart the convo but am i supposed to download all the files in the example project? I want to use it for my own project
@Broski6826 жыл бұрын
Ah nevermind, I found another way. Just went to agent types then object then i select things in the hierarchy and set them as walkable/nonwalkable/jump
@garethrhodes78305 жыл бұрын
Brilliant Tutorial! I can't believe how easy this process is. Thank you. I think I'm going to have to subscribe because I always land up on your tutorials.
@nerdin8or6 жыл бұрын
I love your tutorials! Thank you so much! If you haven't done one before, could you do a tutorial on grid-based movement like in XCOM or Fire Emblem?
@SamuraiWormGaming6 жыл бұрын
My Nav Mesh Surface is COMPLETELY different to the one in the video! And i used the link in the description too!
@PiyPowKachou6 жыл бұрын
Cool! Could you make a more advanced tutorial on runtime nav-mesh generation, please? (I see now in the end of the video there are more advanced things. I hope runtime nav-mesh will be included (In repository I see runtime, GREAT! )). You and your team are awesome!
@installwastaken6 жыл бұрын
He has a team? who are they?
@outviteslb81435 жыл бұрын
@@installwastaken allah w akhbar
@ringzero32602 жыл бұрын
@@outviteslb8143 what the heck? please dont tell me it was your little bro
@Thermacon6 жыл бұрын
I was just wondering when you were goin to upload this last night. How funny! Great job ;)
@_luceoon6 жыл бұрын
Why you have to import a NavMeshComponent when you have it already integrated? Is this a new System?
@crowbarska6 жыл бұрын
MadAurion Yes this is a pack of work-in-progress updates to the basic navigation system. It's still in development which is why it's not part of the main Unity software.
@stoui61606 жыл бұрын
MadAurion It would be better if he did the tutorial with the naviagtion window to set the walkable area.
@equiaux4 жыл бұрын
Started using unity 3 days ago and now i understand a lot
@equiaux4 жыл бұрын
I see you want to argue a lot , seems like you had a bad day ,
@equiaux4 жыл бұрын
Yeah ,
@equiaux2 жыл бұрын
Been two years now i can create Games
@GoronTico6 жыл бұрын
- Makes his own scene for around 15 minutes -. Me: "Ok, i can keep going" Brackeys: "You can use the link on the description to get this example scene" Me: *c:*
@yaboinachin71984 жыл бұрын
It just fucking happened to me lmao
@SeleDreams3 жыл бұрын
i'm trying to generate a navmesh from a prefab but it seems like it doesn't want to bake because it can't deduce a scene from what it says
@Sebastian-jt2kq6 жыл бұрын
How did you do these childish '2D' graphics for the game? Is there a component that you have to attach or something?
@RobotwithBrainz6 жыл бұрын
If you want to make a simple map like in the tutorial you should just make a bunch of cubes and size them accordingly. Or you can download ProBuilder from the Asset Store for free, which can help you make simple maps easy
@noahjames94576 жыл бұрын
Rocioiu Sebastian Go to camera and select orthographic view.
@noahjames94576 жыл бұрын
Rocioiu Sebastian Trust me, I was you at one point.
@petter90786 жыл бұрын
Slightly rounded edges? You sure he's not baking shadows?
@darealepicgamer4386 жыл бұрын
Unity basically gave away good money, because you explain it well enough for the watcher to get an amazing understanding of unity. Plus, you do tons of unity anyway. Hey, but you deserve the money for the sponsor.
@danielcurry62286 жыл бұрын
Any chance to see a way or suggestions as to limiting the pathfinding to strict angles and straight lines, basically so it doesn't move diagonally and only straight?
@Wohodix6 жыл бұрын
do some straight narrow path ? some kind of rail layout,
@Oxmond4 жыл бұрын
This is an awesome NavMesh tutorial! 👍🤓🧡
@mangoalias6086 жыл бұрын
how do you do realtime NavMesh? like if enemies are walking around or if the walls move
@sunkillersharkny6 жыл бұрын
OnlineShopping I think it's a beta feature
@arrowinaknee85106 жыл бұрын
OnlineShopping, as he said, we will see it in the next video
@mangoalias6086 жыл бұрын
Oh cool. I didn't hear that part. Good to know. :)
@crowbarska6 жыл бұрын
OnlineShopping You can add a NavMeshObstacle component to have objects dynamically change the nav mesh.
@MatheusLB20096 жыл бұрын
You can use unityengine.ai.navmesh.buildnavmesh(). But it gets though to update in realtime, more practical in turns
@AnxietyDuck6 жыл бұрын
Congrats on the Unity sponsorship
@MrCody-vx9be4 жыл бұрын
How can I have a line which shows the way of the agent?
@yahia13555 жыл бұрын
this seemed like so hard , but with Brackeys ..it's easy ! thank you very very much dude you are so good at this !!!
@LostStylus5 жыл бұрын
Nothing shows up when I try to add NavMeshSurface
@sollillevang58715 жыл бұрын
same
@imsKo5 жыл бұрын
@@sollillevang5871 It's now in the Navigation Tab next to Inspector.
@TheToadSpinner6 жыл бұрын
I legit just started working on my enemies today! Good timing. :)
@ninobrouwers18184 жыл бұрын
For people who can't see thei Navmesh, turn on Gizmos. in 2019.3 (earlier maybe aswell) it is outomatically turned off
@nv72874 жыл бұрын
Aww thanks :) I was going nuts!
@Feather34 жыл бұрын
You just saved me hours of hardship and rage. THANK YOU.
@zaydvision41834 жыл бұрын
Dude, thank you so much!
@LeNumberJ6 жыл бұрын
sooo nice of unity to sponsor you
@HypeGamer-rv6ub6 жыл бұрын
How did you make the walls one object?
@swatisen85076 жыл бұрын
He used ended to make the walls and used a cube to make the ground
@darusius6 жыл бұрын
What do you mean by "ended"? I am stuck with the same problem.
@联盟解散张新杰熬夜荣6 жыл бұрын
if anyone wondering why the player isn't moving just like I did, plz check DID YOU ADD A BOX COLLIDER ON THE GROUND!! Brackeys should point out we should add a box collider on the ground is a must for the nav system to work. just saying.
@neelimgoswami63366 жыл бұрын
man, the nav mesh surface component is not coming. what should i do
@swatisen85076 жыл бұрын
I also
@swatisen85076 жыл бұрын
Does anybody have a suggestion on what to do
@swatisen85076 жыл бұрын
To use the NavMesh Surface component, navigate to GameObject > AI > NavMesh Surface. This creates an empty GameObject with a NavMesh Surface component attached to it. A Scene can contain multiple NavMesh Surfaces. I got this from the unity scripting api
@Kal_El_Dorado6 жыл бұрын
AI is not showing up. Not under GameObject and not under Add Component.
@swatisen85076 жыл бұрын
Go to git hub ,unity technologies and there you will find it
@itsttsi38584 жыл бұрын
You seem very underwelmed that your sponsored by FREAKING UNITY!!!
@serglit102294 жыл бұрын
Why is the video called "English"??
@lavque4 жыл бұрын
ikr
@lavque4 жыл бұрын
@Peter Calabrese weird..
@chitrang77506 жыл бұрын
AWESOME "Your Explanation for the lesson is Out of this world". :)
@ShimiShimiALD6 жыл бұрын
Can you please do a city building game tutorial???
@moreira32496 жыл бұрын
Congratulations on the unity sponsorship :D
@LUMINA34 жыл бұрын
why is the video called "english"
@iteratedofficial4 жыл бұрын
idk
@svetlinsvilenov87396 жыл бұрын
It's so nice when you hear a person that doesn't speak your language not butcher your name :)
@greglyons2886 жыл бұрын
"Orgre" ;-)
@gagedickerson11626 жыл бұрын
5:50 "Parth"
@kelpdock89133 жыл бұрын
it doesnt show anything or do anything when i bake does anyone know what ive done wrong lmao im only 1:35 seconds in but it does work, i just find it hard to adjust when there are no markings or anything like he has
@abhijitranjan44794 жыл бұрын
Just wow. Thank You Brackeys for your awesome tutorials.
@ShockWave20484 жыл бұрын
This is great! Simple, fast, from scratch! Ideal tutor!
@Hersatz4 жыл бұрын
If you are curious about the maths going on behind the scene search for: A* algorithm It is the algorithm for movement path finder and AI actions path finder.
@PEDRO40754 жыл бұрын
your are the best teacher bro, seriously
@SirSnowman4 жыл бұрын
The NavMesh in 11 Minutes - You should be paid by Unity :) - Thank you so much!!!
@matteosberna735 Жыл бұрын
Note: different agents require DIFFERENT nav mesh GAMEOBJECTS, each one with a navmesh map on italso it's base to gather all navmes in a commen script, even better with a script that andles ALL key presses
@thegordoloco6 жыл бұрын
Awesome! A little bit closer to a Point and Click Adventure tutorial
@GameOver78536 жыл бұрын
You don't have to put the player in a separate layer to make the navmesh ignore it, you just need to add the navmesh agent component to the player :) good tutorial
@MatrixQ4 жыл бұрын
Ok, this is just amazing and opens up so many possibilities.
@user-ii1cn4ib9b6 жыл бұрын
I've been wating for this since I started following you . Thanks !
@adrian54096 жыл бұрын
Everytime I get the component pack that I got from the link below, alot of errors popped up in the console, saying there were errors in the NavMeshsurface script.. I then searched google for the Navmesh surface tool and how to get it. I was taken to a page called Unity manual... and it just instructed on how to use the navmesh, and I thought.. well, screw this I'll do something else.. and I see, this github link that sends me to a github link with the components, and I thought, well it is from unity, maybe Brackeys's link was just out of date or something. I download it and I get the same thing.. If you can help me please reply to this comment, and also here is some information about my pc and my unity application. I have Unity 5.6.5f1, I have a laptop, windows 7, 32bit and it isn't very good, but good enough, I suppose. Thank you for reading all of this and I hope you can find a solution to my problem.
@jummagamedeveloperbeginner65094 жыл бұрын
Very very very thanks!!! I was trying to find a tutorial like this one, it really helped me a lot!
@DataWhisler5 жыл бұрын
Raycast is not working on my setup the player isn't moving what should i do...?
@sumbuddy40886 жыл бұрын
Sweet, this is what I was hoping for! This will be very useful
@gamedesignwithmichael6 жыл бұрын
Great video, keen for the next one.
@jareevoldemort23735 жыл бұрын
I'm so happy that the comment section is very helpful and informative let's go gamers
@Slayer46406 жыл бұрын
i really like how you explained everything in detail in this tutorial😁
@michaelschepens37506 жыл бұрын
Thank you so much for your videos. They are awesome and extremely informative.
@frostmusicofficial6 жыл бұрын
I swear every time I need to know something for my game, you seem to upload that exact topic every time...
@lux26405 жыл бұрын
You're such an amazing tutor, man.
@Steve-gi2yj Жыл бұрын
Sorry, but for NavMesh, did you install it or just add it to your project? how did you add the NavMesh Surface? i only see Agent and NavMesh Obstacle, never a surface... also when I add the "NavMeshComponents" folder to my project, i get a TON of warning messages like: Assets\NavMeshComponents\Scripts\NavMeshSurface.cs(376,26): warning CS0618: 'PrefabUtility.GetPrefabParent(Object)' is obsolete: 'Use GetCorrespondingObjectFromSource.
@smackjam66466 жыл бұрын
I love all your tutorials. Request: Audio Tracker Modules
@trantruonggiaphat3704 Жыл бұрын
Thanks for your tutorial, it's comprehensive and incredible. Luv u.
@dharmeshkumar27636 жыл бұрын
Superb explanation. Really helpful. Make your all upcoming videos like this. 😊
@arjunmehta28536 жыл бұрын
Wow this is amazing i needed this. Do more cool tutorials. I love this channel!
@clarisrichter79662 жыл бұрын
I know we all love Brackeys but just remember that this is a very outdated tutorial. CodeMonkey has done a similar one on his channel and you no longer require packages and nonsense, it's much simpler now.
@jonathansmith1146 жыл бұрын
You are my coding savior.
@abhay21664 жыл бұрын
THANKS A LOT BROTHER .......YOU ARE THE BEST ......AND I LOVES YOUR VIDEO.....IM PROUD TO BE YOUR SUBSCRIBER
@alexanderlinderson26556 жыл бұрын
Nice haha i just started a new project and was looking for videos about navmesh!
@ConcreteJungleGames4 жыл бұрын
Thanks for the rich tutorial legacy my friend
@guilhermeumemura58294 жыл бұрын
Any recommendation for up to date tutorial? Many features used in this video are no longer avaliables
@aarondelgado34214 жыл бұрын
You can always look at the Unity documentation and make anything regarding the NavMesh components work.