Join Dan Violet Sagmiller for an in-depth discussion in this video Navigation mesh, part of Unity 5: Build a Real-Time Strategy Game.
- [Voiceover] We'll need a way…to limit the players to playable areas,…so they can't climb over hills or run through lakes.…To do that, we're going use something…called the navigation mesh.…In Unity, you can find the navigation mesh…by going to Window, Navigation.…Navigation meshes will show up…over a certain part of the terrain,…identifying which areas can be walked on,…and then AIs can use this information…to define how to get around obstacles…and navigate from one point to another.…So, it wants to know what type of objects…are we going to be applying this to.…
All we're really going to be applying this to is terrains,…so I'll just click Terrains.…Next, let's go the bake settings.…Under the bake settings,…it's asking us about the baked agent size.…So what does that mean?…Well, an agent is a unit that can travel over this terrain,…such as a player or a car.…We're giving it information about it,…such as how wide it is, how tall it is,…how steep of a slope it can climb.…So, the first thing is the radius.…How wide is it?…
AuthorDan Violet Sagmiller
- Adding player positions and start info
- Loading prebuilt levels
- Adding camera moves
- Adding a unit
- Supporting navigation
- Adding unit owners and player objects
- Importing and setting up a HUD map
- Adding unit info and credits
- Creating HUD actions
- Building a command base
- Adding artificial intelligence
- Adding battle actions
Skill Level Intermediate
Unity 5 2D Essential Training (2015)with Jesse Freeman3h 22m Intermediate
1. Initial Setup
2. Adding a Unit
3. Navigation Mesh
4. Unit Owner
5. HUD Map
6. Unit Info & Credits
7. HUD Actions
8. Command Base
9. Base AI
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.