This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
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

导航和寻路

UNIGINE has a built-in pathfinding system that includes navigation areas, obstacles and functions of the PathRoute class that are used to calculate the optimal routes among obstacles within navigation areas.本节提供了一组示例,介绍了寻路实现的各种方法。 这些示例解释了如何计算2D和3D空间中的路线,无论是否有障碍物,还展示了不同导航区域的功能和用法。

在UNIGINE中,可以在以下类型之一的导航区域内执行寻路:

您可以在导航区域中放置障碍物:不可见的节点将被路由绕过。 您可以将障碍物用作单个节点,也可以将其用作需要绕过的节点的子节点。 不同之处在于障碍的转变将如何变化。 UNIGINE提供3种类型的障碍。 您应该根据寻路过程中要绕过的节点或区域的形状选择适当的类型。

请参阅#

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