Explorar o código

Merge pull request #32101 from Xrayez/doc-fix-ambiguous-test-motion

Fix ambiguous method description regarding `body_test_motion` in 2D
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
fd3d8f6627
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/classes/Physics2DServer.xml

+ 1 - 1
doc/classes/Physics2DServer.xml

@@ -822,7 +822,7 @@
 			<argument index="5" name="result" type="Physics2DTestMotionResult" default="null">
 			</argument>
 			<description>
-				Returns whether a body can move from a given point in a given direction. Apart from the boolean return value, a [Physics2DTestMotionResult] can be passed to return additional information in.
+				Returns [code]true[/code] if a collision would result from moving in the given direction from a given point in space. Margin increases the size of the shapes involved in the collision detection. [Physics2DTestMotionResult] can be passed to return additional information in.
 			</description>
 		</method>
 		<method name="capsule_shape_create">