2020-02-10 22:24:00 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-03-31 00:22:57 +08:00
<class name= "NavigationObstacle3D" inherits= "Node" version= "4.0" >
2020-02-10 22:24:00 +08:00
<brief_description >
3D Obstacle used in navigation for collision avoidance.
</brief_description>
<description >
2020-03-31 00:22:57 +08:00
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 [Navigation3D] node, or using [method set_navigation]. [NavigationObstacle3D] is physics safe.
2020-02-10 22:24:00 +08:00
</description>
<tutorials >
</tutorials>
<methods >
<method name= "get_navigation" qualifiers= "const" >
<return type= "Node" >
</return>
<description >
2020-03-31 00:22:57 +08:00
Returns the [Navigation3D] node that the obstacle is using for its navigation system.
2020-02-10 22:24:00 +08:00
</description>
</method>
<method name= "set_navigation" >
<return type= "void" >
</return>
<argument index= "0" name= "navigation" type= "Node" >
</argument>
<description >
2020-03-31 00:22:57 +08:00
Sets the [Navigation3D] node used by the obstacle. Useful when you don't want to make the obstacle a child of a [Navigation3D] node.
2020-02-10 22:24:00 +08:00
</description>
</method>
</methods>
2020-02-12 16:59:06 +08:00
<constants >
</constants>
2020-02-10 22:24:00 +08:00
</class>