summaryrefslogtreecommitdiff
path: root/doc/classes/NavigationObstacle.xml
blob: 31cf01793ad69de2fd96081d90cc9ebc7be8fd28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8" ?>
<class name="NavigationObstacle" inherits="Node" version="4.0">
	<brief_description>
		3D Obstacle used in navigation for collision avoidance.
	</brief_description>
	<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 [Navigation] node, or using [method set_navigation]. [NavigationObstacle] is physics safe.
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="get_navigation" qualifiers="const">
			<return type="Node">
			</return>
			<description>
				Returns the [Navigation] node that the obstacle is using for its navigation system.
			</description>
		</method>
		<method name="set_navigation">
			<return type="void">
			</return>
			<argument index="0" name="navigation" type="Node">
			</argument>
			<description>
				Sets the [Navigation] node used by the obstacle. Useful when you don't want to make the obstacle a child of a [Navigation] node.
			</description>
		</method>
	</methods>
	<constants>
	</constants>
</class>