1 Star 1 Fork 0

天天编程/godot-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
class_navigationobstacle.rst 2.07 KB
一键复制 编辑 原始数据 按行查看 历史
github_url: hide

NavigationObstacle

Inherits: :ref:`Node<class_Node>` < :ref:`Object<class_Object>`

3D Obstacle used in navigation for collision avoidance.

Description

3D Obstacle used in navigation for collision avoidance. The obstacle needs navigation data to work correctly. This can be done by having the obstacle as a child of a :ref:`Navigation<class_Navigation>` node, or using :ref:`set_navigation<class_NavigationObstacle_method_set_navigation>`. NavigationObstacle is physics safe.

Methods

:ref:`Node<class_Node>` :ref:`get_navigation<class_NavigationObstacle_method_get_navigation>` ( ) const
void :ref:`set_navigation<class_NavigationObstacle_method_set_navigation>` ( :ref:`Node<class_Node>` navigation )

Method Descriptions

Returns the :ref:`Navigation<class_Navigation>` node that the obstacle is using for its navigation system.


Sets the :ref:`Navigation<class_Navigation>` node used by the obstacle. Useful when you don't want to make the obstacle a child of a :ref:`Navigation<class_Navigation>` node.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ttcode-net/godot-docs.git
git@gitee.com:ttcode-net/godot-docs.git
ttcode-net
godot-docs
godot-docs
master

搜索帮助