From 001d89223f1377717d2b3d5ec453ff8dd3604182 Mon Sep 17 00:00:00 2001
From: smix8 <52464204+smix8@users.noreply.github.com>
Date: Sat, 14 May 2022 23:33:09 +0200
Subject: Expose NavigationObstacle2D/3D get_rid() and add config warning
Exposes get_rid() function for scripting.
Adds configuration warning when obstacle is used with not intended static body parent.
---
doc/classes/NavigationObstacle2D.xml | 8 ++++++++
doc/classes/NavigationObstacle3D.xml | 8 ++++++++
2 files changed, 16 insertions(+)
(limited to 'doc/classes')
diff --git a/doc/classes/NavigationObstacle2D.xml b/doc/classes/NavigationObstacle2D.xml
index 2540c56258..f3690ce8a7 100644
--- a/doc/classes/NavigationObstacle2D.xml
+++ b/doc/classes/NavigationObstacle2D.xml
@@ -8,6 +8,14 @@
+
+
+
+
+ Returns the [RID] of this obstacle on the [NavigationServer2D].
+
+
+
Enables radius estimation algorithm which uses parent's collision shapes to determine the obstacle radius.
diff --git a/doc/classes/NavigationObstacle3D.xml b/doc/classes/NavigationObstacle3D.xml
index f9489db5f1..e6ea70b91a 100644
--- a/doc/classes/NavigationObstacle3D.xml
+++ b/doc/classes/NavigationObstacle3D.xml
@@ -8,6 +8,14 @@
+
+
+
+
+ Returns the [RID] of this obstacle on the [NavigationServer3D].
+
+
+
Enables radius estimation algorithm which uses parent's collision shapes to determine the obstacle radius.
--
cgit v1.2.3