当前位置:网站首页>Unity automatic pathfinding
Unity automatic pathfinding
2022-06-30 04:49:00 【Huangjiale】
First create a simple scenario .
The second step , Choose the ground and built roads , take Static Set to Navigation Static Check box ,unity The navigation grid will be generated by the selected object :
The third step : Select... In the menu bar Window—>Navigation command , eject Navgation View . And then choose Navgation In the view Bake Button generate navigation grid , Then its walkable floor will turn blue and transparent .

Step four : Create a movable object , Here we use a cube instead of , To add NavMesh Agent Components .
Introduction to basic component information
Base offset: Offset from the ground
speed : Movement speed
Angular Speed: Corner speed , Turning speed angular velocity : Maximum speed ( degree / second ).
Acceleration : The acceleration , At startup Maximum acceleration .
Stopping Distance: Stop distance , Braking distance : Braking distance . The distance to the destination is less than this value , Agent decelerates .
Auto Traverse OffMesh Link : Automatic traversal OffMesh link : Automatically move and close OffMeshLinks
Auto Repath: Automatic rerouting : If the existing part has expired , Get a new path .
Height: Height : The height of the agent ( Used to debug graphics ).
Base offset: Basic offset : The vertical offset of the collision geometry from the actual geometry .
Obstacle Avoidance Type : Obstacle avoidance type : Quality level of avoidance .
NavMesh Walkable: Navigation grid walk : Specify the type of navigation grid layer that the agent can traverse . This parameter has a great effect , In the following example, you can use .
Step five Add move script for Cube , Click the mouse to move it to the specified location .
边栏推荐
- 圆心科技,很焦虑?
- Redis implements SMS login function (II) redis implements login function
- MySQL query gadget (I) replace a property value of the object in the JSON array in the JSON format string field
- Unity is associated with vs. there is a compiler problem when opening
- [control] multi agent system summary. 4. control agreement.
- How to repair expired SSL certificates?
- The difference between get and post requests
- Marvel fan welfare: Singapore Madame Tussauds Wax Museum Marvel 4D experience Museum
- Summary of the reasons why transactional doesn't work
- File system and directory operations
猜你喜欢

一条命令运行rancher

Cheap SSL certificate abroad

Connect to the database and run node JS running database shows that the database is missing

【Paper】2017_ Distributed control for high-speed trains movements

harbor api 2.0查询

输入输出及中断技术——微机第六章学习笔记

Geotrustov wildcard

【Paper】2021_ Observer-Based Controllers for Incrementally Quadratic Nonlinear Systems With Disturbanc

Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore

Lambda&Stream
随机推荐
Redis实现短信登入功能(二)Redis实现登入功能
The role of break
What is multimodal interaction?
Equity interest [non DP]
Thread safety and processing caused by multithreading
Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore
Autowired注解警告的解决办法
0 foundation starts self-study unit notes control direction becomes larger
Brew install NVM command not found solution
Unreal 4 unavigationsystemv1 compilation error
Dual domain SSL certificate
Unreal 4 learning notes - Animated Montage
Difference between request forwarding and redirection
Photon pun refresh hall room list
Malignant bug: 1252 of unit MySQL export
Create thread in callable mode
Bean creation process and lazy init delay loading mechanism
Webots learning notes
Introduction to some representations, neighbors and degrees of Graphs
Mongodb learning