summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2023-02-23 23:45:16 +0100
committersmix8 <52464204+smix8@users.noreply.github.com>2023-02-23 23:45:16 +0100
commit5d1a6e9b12df0b53af86c7a0cd31adaf1b900b06 (patch)
tree7ffd6e0a4e11ddfa63f4404884efa766cb8dca5a /doc/classes
parente930c8d3838280e40baabc4426bd8236f7ac50a3 (diff)
Fix ShapeCast3D add and remove exception functions
Fixes that ShapeCast3D would accept any parameter object and silently return when it was not a CollisionObject3D.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ShapeCast3D.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/ShapeCast3D.xml b/doc/classes/ShapeCast3D.xml
index 735b91cee9..907ae73055 100644
--- a/doc/classes/ShapeCast3D.xml
+++ b/doc/classes/ShapeCast3D.xml
@@ -14,7 +14,7 @@
<methods>
<method name="add_exception">
<return type="void" />
- <param index="0" name="node" type="Object" />
+ <param index="0" name="node" type="CollisionObject3D" />
<description>
Adds a collision exception so the shape does not report collisions with the specified [CollisionObject3D] node.
</description>
@@ -108,7 +108,7 @@
</method>
<method name="remove_exception">
<return type="void" />
- <param index="0" name="node" type="Object" />
+ <param index="0" name="node" type="CollisionObject3D" />
<description>
Removes a collision exception so the shape does report collisions with the specified [CollisionObject3D] node.
</description>