Skip to content

Commit

Permalink
Merge pull request #89318 from Calinou/doc-test-move-keywords
Browse files Browse the repository at this point in the history
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
  • Loading branch information
akien-mga committed Mar 9, 2024
2 parents 611ae19 + f8dd984 commit b2b7ea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/classes/PhysicsBody2D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
2 changes: 1 addition & 1 deletion doc/classes/PhysicsBody3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down

0 comments on commit b2b7ea2

Please sign in to comment.