当前位置:网站首页>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 .
边栏推荐
- One interview question a day the difference between B tree and b+ tree
- 史上最全的Redis基础+进阶项目实战总结笔记
- Bean creation process and lazy init delay loading mechanism
- Using the command line to convert JSON to dart file in fluent
- Introduction to some representations, neighbors and degrees of Graphs
- EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据
- [control] multi agent system summary. 1. system model. 2. control objectives. 3. model transformation.
- Malignant bug: 1252 of unit MySQL export
- Threadlocal
- Geotrustov wildcard
猜你喜欢

Dual domain SSL certificate
![[fpga] implementation of IIC read / write EEPROM](/img/6a/36e9355058a90d98cffafcbaa1930b.png)
[fpga] implementation of IIC read / write EEPROM

Check London attractions suitable for parents and children in winter vacation

The golden deer, a scenic spot in London -- a sailing museum that tells vivid sailing stories

A collection of errors encountered in machine learning with unity

Blocking queue example

Unreal 4 learning notes - data storage using blueprints

Redis implements SMS login function (II) redis implements login function

Singapore parent-child tour, these popular attractions must be arranged

National Museum of Singapore - give you spiritual and physical satisfaction
随机推荐
【Paper】2015_ Active fault-tolerant control system design with trajectory re-planning against actuator
Enter the date format string as the production date of the commodity, and enter the shelf life (days); Calculate the number of days until today before the expiration date of the product. 1. Change the
Issue SSL certificate with IP address
IO stream, byte stream read / write copy
Blocking queue example
Use of thread pool
SSL universal domain name certificate
Bean创建流程 与 lazy-init 延迟加载机制原理
Circle center technology, very anxious?
Input / output and interrupt technology -- microcomputer Chapter 6 learning notes
破局存量客群营销,试一下客户分群管理(含聚类模型等实操效果评估)
[control] multi agent system summary. 4. control agreement.
Threadlocal
[control] multi agent system summary. 1. system model. 2. control objectives. 3. model transformation.
深度学习------不同方法实现Inception-10
Marvel fan welfare: Singapore Madame Tussauds Wax Museum Marvel 4D experience Museum
Foreign SSL certificate
Imile uses Zadig's multi cloud environment to deploy thousands of times a week to continuously deliver global business across clouds and regions
Recommended cultural landmarks of these tourist attractions in Bangkok
What is SQL injection and how to avoid it?