当前位置:网站首页>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 .
边栏推荐
- Process architecture and process management
- Circle center technology, very anxious?
- Singapore must visit these scenic spots during the Spring Festival
- 图的一些表示方式、邻居和度的介绍
- Geotrustov wildcard
- Encapsulating JDBC tool classes
- Using the command line to convert JSON to dart file in fluent
- 【Paper】2013_ An efficient model predictive control scheme for an unmanned quadrotor helicopter
- 圆心科技,很焦虑?
- 破局存量客群营销,试一下客户分群管理(含聚类模型等实操效果评估)
猜你喜欢

System programming summary

A collection of errors encountered in machine learning with unity

MySQL query gadget (I) replace a property value of the object in the JSON array in the JSON format string field

Have a heart beating Valentine's day in Singapore

Directory operations and virtual file systems

What is an optocoupler circuit and what should be paid attention to in actual use?

SSL universal domain name certificate

Beanfactory creation process

图的一些表示方式、邻居和度的介绍

Unreal 4 unavigationsystemv1 compilation error
随机推荐
小C的数组(array)
Introduction to some representations, neighbors and degrees of Graphs
圆心科技,很焦虑?
Arrays class
Arsenal Stadium Tour - take you to the front and back of Arsenal Stadium
How to repair expired SSL certificates?
EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据
Beanfactory creation process
股票利益【非dp】
One interview question every day to talk about the process of TCP connection and disconnection
Summary of the reasons why transactional doesn't work
Unreal 4 learning notes - set player birth point
深度学习------不同方法实现Inception-10
Static keyword
Cheap SSL certificate abroad
Bean creation process and lazy init delay loading mechanism
Software digital signature certificate
Singapore must visit these scenic spots during the Spring Festival
一条命令运行rancher
Process architecture and process management