소스 검색

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

Fix ambiguous method description regarding `body_test_motion` in 2D
Rémi Verschelde 6 년 전
부모
커밋
fd3d8f6627
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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">