Quellcode durchsuchen

Merge pull request #89318 from Calinou/doc-test-move-keywords

Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
Rémi Verschelde vor 1 Jahr
Ursprung
Commit
b2b7ea21ff
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      doc/classes/PhysicsBody2D.xml
  2. 1 1
      doc/classes/PhysicsBody3D.xml

+ 1 - 1
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" />

+ 1 - 1
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" />