backported method get_rid for NavigationAgent

This commit is contained in:
Mak Kma
2022-01-20 22:38:20 +03:00
parent 4075866117
commit 1c3d3af6ef
4 changed files with 16 additions and 0 deletions

View File

@@ -45,6 +45,12 @@
Returns a [Vector3] in global coordinates, that can be moved to, making sure that there are no static objects in the way. If the agent does not have a navigation path, it will return the origin of the agent's parent.
</description>
</method>
<method name="get_rid" qualifiers="const">
<return type="RID" />
<description>
Returns the object's [RID].
</description>
</method>
<method name="get_target_location" qualifiers="const">
<return type="Vector3" />
<description>