# Components for Runtime NavMesh Building
Here we introduce four components for the navigation system:
* __NavMeshSurface__ – for building and enabling a navmesh surface for one agent type.
* __NavMeshModifier__ – affects the navmesh generation of navmesh area types, based on the transform hierarchy.
* __NavMeshModifierVolume__ – affects the navmesh generation of navmesh area types, based on volume.
* __NavMeshLink__ – connects same or different navmesh surfaces for one agent type.
These components comprise the high level controls for building and using NavMeshes at runtime as well as edit time.
### Documentation (draft)
https://docs.google.com/document/d/1usMrwMHTPNBFyT1hZRt-nQZzRDTciIQRVzmA7MQsFNw
# How To Get Started
Download and install the latest release of Unity 5.6.
Clone or download this repository and open the project using the feature build.
Alternatively, you can copy the contents of `Assets/NavMeshComponents` to an existing project.
Additional examples are available in the `Assets/Examples` folder.
The examples are provided "as is". They are neither generic nor robust, but serve as inspiration.
_Note: During the beta cycle features and API are subject to change. Back up existing projects before using.
**Make sure to backup an existing project before opening it with this build**_.
# FAQ
Q: Can I bake navmesh at runtime?
A: yes
Q: Can I use navmesh'es for more than one agent size?
A: yes
Q: Can I put a navmesh in a prefab?
A: yes - with some limitations.
Q: How do i connect two navmesh surfaces?
A: Use the NavMeshLink to connect the two sides
Q: How do i query the navmesh for one specific size of agent?
A: Use the NavMeshQuery filter when querying the navmesh
Q: What's the deal with the 'DefaultExecutionOrder' attribute?
A: It gives a way of controlling the order of execution of scripts - specifically it allows us to build a navmesh before the
(native) navmeshagent component is enabled.
Q: What's the use of the new delegate 'NavMesh.onPreUpdate'?
A: It allows you to hook in to controlling the navmesh data and links set up before the navigation update loop is called on the native side.
Q: Can I do moving NavMesh platforms?
A: No - new API is required for consistently moving platforms carrying agents.
Q: Is OffMeshLink now obsolete?
A: No - you can still use OffMeshLink - however you'll find that NavMeshLink is more flexible and have less overhead.
Q: What happened to HeightMesh and Auto Generated OffMeshLinks?
A: They're not supported in the new navmesh building feature. HeightMesh will be added at some point. Auto OffMeshLink generation will possibly be replaced with a solution that allows better control of placement.
没有合适的资源?快使用搜索试试~ 我知道了~
UnityNavMeshComponents-master寻路组件动态自动烘培
共203个文件
meta:94个
cs:29个
prefab:20个
需积分: 1 23 下载量 171 浏览量
2017-11-18
21:12:34
上传
评论
收藏 3.2MB ZIP 举报
温馨提示
组件分流(https://github.com/Unity-Technologies/NavMeshComponents),使用后Unity 可以动态自动烘培物体,自动寻路
资源推荐
资源详情
资源评论
收起资源包目录
UnityNavMeshComponents-master寻路组件动态自动烘培 (203个子文件)
Islands.asset 2.36MB
ProjectSettings.asset 12KB
NavMesh-Geometry.asset 10KB
NavMesh-Geometry 1.asset 6KB
NavMesh.asset 6KB
InputManager.asset 6KB
QualitySettings.asset 4KB
GraphicsSettings.asset 2KB
NavMeshAreas.asset 2KB
Physics2DSettings.asset 1KB
DynamicsManager.asset 715B
UnityConnectSettings.asset 673B
EditorSettings.asset 404B
TagManager.asset 378B
AudioManager.asset 328B
TimeManager.asset 202B
NetworkManager.asset 151B
EditorBuildSettings.asset 138B
ClusterInputManager.asset 114B
NavMeshSurfaceEditor.cs 20KB
NavMeshSurface.cs 16KB
NavMeshLinkEditor.cs 10KB
NavMeshComponentsGUIUtility.cs 9KB
NavMeshModifierVolumeEditor.cs 6KB
NavMeshSurfaceTests.cs 5KB
NavMeshSurfaceLinkTests.cs 5KB
NavMeshLink.cs 5KB
NavMeshPrefabInstanceEditor.cs 4KB
NavMeshSurfaceAgentTests.cs 3KB
NavMeshPrefabInstance.cs 3KB
NavMeshSurfaceModifierTests.cs 3KB
RandomInstancing.cs 3KB
AgentLinkMover.cs 3KB
LocalNavMeshBuilder.cs 3KB
MeshTool.cs 2KB
NavMeshSourceTag.cs 2KB
NavMeshSurfaceModifierVolumeTests.cs 2KB
NavMeshModifierVolume.cs 2KB
FreeCam.cs 2KB
NavMeshModifier.cs 2KB
NavMeshModifierEditor.cs 1KB
DungeonManager.cs 1KB
ClickToMove.cs 677B
EnableIffSleeping.cs 618B
Oscillator.cs 527B
RandomWalk.cs 491B
DestroyOnTrigger.cs 315B
SpawnPrefabOnKeyDown.cs 303B
BanyanTree.fbx 451KB
.gitignore 120B
LICENSE 1KB
crosshair.mat 4KB
BanyanBranches.mat 3KB
BanyanBark.mat 3KB
brightgreen.mat 3KB
green.mat 3KB
brown.mat 3KB
floor.mat 3KB
grey.mat 3KB
red.mat 3KB
yellow.mat 3KB
NavMeshSurface.md 4KB
README.md 3KB
NavMeshModifier.md 1KB
NavMeshLink.md 1KB
NavMeshModifierVolume.md 1KB
ConnectingSurfaces.md 913B
README.md 816B
BanyanTree.fbx.meta 2KB
NavMeshLink Icon.png.meta 1KB
NavMeshSurface Icon.png.meta 1KB
NavMeshModifierVolume Icon.png.meta 1KB
modify_crosshair.png.meta 1KB
LightmapWithFog.png.meta 1KB
NavMeshModifierVolume.cs.meta 313B
NavMeshModifier.cs.meta 313B
NavMeshSurface.cs.meta 313B
NavMeshLink.cs.meta 313B
NavMeshSurfaceModifierTests.cs.meta 262B
NavMeshSurfaceAgentTests.cs.meta 262B
NavMeshSurfaceLinkTests.cs.meta 262B
NavMeshSurfaceTests.cs.meta 262B
NavMeshSurfaceModifierVolumeTests.cs.meta 262B
NavMeshSurfaceEditor.cs.meta 262B
NavMeshComponentsGUIUtility.cs.meta 262B
NavMeshPrefabInstanceEditor.cs.meta 262B
NavMeshModifierVolumeEditor.cs.meta 262B
NavMeshModifierEditor.cs.meta 262B
NavMeshLinkEditor.cs.meta 262B
NavMeshPrefabInstance.cs.meta 262B
SpawnPrefabOnKeyDown.cs.meta 262B
RandomInstancing.cs.meta 262B
DungeonManager.cs.meta 262B
AgentLinkMover.cs.meta 262B
LocalNavMeshBuilder.cs.meta 262B
FreeCam.cs.meta 262B
ClickToMove.cs.meta 262B
EnableIffSleeping.cs.meta 262B
MeshTool.cs.meta 262B
DestroyOnTrigger.cs.meta 262B
共 203 条
- 1
- 2
- 3
资源评论
BuladeMian
- 粉丝: 781
- 资源: 55
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于CSS的响应式鲜花网站全屏效果设计源码
- 基于JavaScript的访客预约系统设计源码
- 基于Vue和ECharts的工作租房数据可视化系统设计源码
- 1040g0cg310ravpiu6ibg5pg00tsipsln3ju2d0g 2
- 基于Python的SAR图像去噪CNN-NLM设计源码
- redhat6升级到redhat7,过程redhat6.x-> redhat6.10->rehat7.9 主版本最高版本
- 基于Django的流程引擎设计源码
- 基于Node.js的Express框架与MySQL的后台管理系统设计源码
- 基于Java的Flink流批一体数据处理快速集成开发框架设计源码
- FirstFilterOrderCompare
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功