This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

导航和寻路

This section provides a set of examples introducing various approaches to pathfinding implementation. These examples explain how to calculate routes in 2D and 3D spaces, with or without obstacles, and also showcase the features and usage of different navigation areas.本节提供了一组示例,介绍了寻路实现的各种方法。 这些示例解释了如何计算2D和3D空间中的路线,无论是否有障碍物,还展示了不同导航区域的功能和用法。

In UNIGINE, pathfinding can be performed within a Navigation Area of one of the following types:在UNIGINE中,可以在以下类型之一的导航区域内执行寻路:

You can place obstacles in the navigation area: invisible nodes to be bypassed by the routes. You can use an obstacle as a single node or as a child node of a node that needs to be bypassed. The difference is in how the obstacle's transformation will change. UNIGINE provides 3 types of obstacles. You should select the appropriate type depending on the shape of the node or area to be bypassed during pathfinding.您可以在导航区域中放置障碍物:不可见的节点将被路由绕过。 您可以将障碍物用作单个节点,也可以将其用作需要绕过的节点的子节点。 不同之处在于障碍的转变将如何变化。 UNIGINE提供3种类型的障碍。 您应该根据寻路过程中要绕过的节点或区域的形状选择适当的类型。

See Also
请参阅#

最新更新: 2024-05-28
Build: ()