Unity - NavMeshAgent-GetStart
2024-09-03 01:10:16
Select scene geometry that should affect the navigation – walkable surfaces and obstacles.
Check Navigation Static on to include selected objects in the NavMesh baking process.
Adjust the bake settings to match your agent size.
Step Height defines how high obstructions are that the agent can step on.
Click bake to build the NavMesh.
Create a cylinder: GameObject > 3D Object > Cylinder.
The default cylinder dimensions (height 2 and radius 0.5) are good for a humanoid shaped agent, so we will leave them as they are.
Add a NavMesh Agent component: Component > Navigation > NavMesh Agent.
效果:
最新文章
- javascript 判断参数类型大全
- 逆转序列的递归/尾递归(+destructuring assignment)实现(JavaScript + ES6)
- IOS 杂笔-18 (let 与 var)
- Hubilder用git插件安装使用
- Objective-C-使用NSMutableURLRequest发送POST请求,使用NSJSONSerialization解析JSON字符串
- 纯js写图片轮播插件
- phpMyAdmim无法打开或空白页面问题解决
- Java Web整合开发(20) -- Hibernate入门
- java nio io模型
- lua 变量
- git lg 使用 转
- 自己实现一个和PYTHON的库一模一样的sha_256算法
- public class feign.RetryableException feign.RetryableException: Connection refused (Connection refused) executing POST http://common-wx/wx/auth/client/token/v1
- 分类算法的R语言实现案例
- golang fatal error: concurrent map read and map write
- 某个 页面覆盖了 UITabBar 的tabItem的解决办法
- android新建的项目界面上没有显示怎么办?
- Julia 语言的一些尝试
- fastjson常用操作
- BZOJ4033 HAOI2015 树上染色 【树上背包】