summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-09 22:20:02 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-09 22:20:02 +0100
commitb2b7ea21ff5af91aad0974d6a3f115898de19473 (patch)
treee70b8b7cb2a116260fa451f99e2d0a9c62380014
parent611ae19de3bf9de5f4278d6ac26442c3ec1c86ec (diff)
parentf8dd9844e5c540afd08030c91b005aeaca3c9da2 (diff)
downloadredot-engine-b2b7ea21ff5af91aad0974d6a3f115898de19473.tar.gz
Merge pull request #89318 from Calinou/doc-test-move-keywords
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
-rw-r--r--doc/classes/PhysicsBody2D.xml2
-rw-r--r--doc/classes/PhysicsBody3D.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/PhysicsBody2D.xml b/doc/classes/PhysicsBody2D.xml
index eef159d44d..fa3bb941bf 100644
--- a/doc/classes/PhysicsBody2D.xml
+++ b/doc/classes/PhysicsBody2D.xml
@@ -50,7 +50,7 @@
Removes a body from the list of bodies that this body can't collide with.
</description>
</method>
- <method name="test_move">
+ <method name="test_move" keywords="check, collision, sweep">
<return type="bool" />
<param index="0" name="from" type="Transform2D" />
<param index="1" name="motion" type="Vector2" />
diff --git a/doc/classes/PhysicsBody3D.xml b/doc/classes/PhysicsBody3D.xml
index 866b3e298c..5019da35c8 100644
--- a/doc/classes/PhysicsBody3D.xml
+++ b/doc/classes/PhysicsBody3D.xml
@@ -68,7 +68,7 @@
Locks or unlocks the specified linear or rotational [param axis] depending on the value of [param lock].
</description>
</method>
- <method name="test_move">
+ <method name="test_move" keywords="check, collision, sweep">
<return type="bool" />
<param index="0" name="from" type="Transform3D" />
<param index="1" name="motion" type="Vector3" />