summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-20 17:47:38 +0200
committerGitHub <noreply@github.com>2019-09-20 17:47:38 +0200
commitfd3d8f6627a5d41176c38410ba4d3b5ee6d21cce (patch)
treedc8d7a8074ef86b404487c1e15e717e85b2b0ef7
parent9c116f4f1df740c74664d0e480f73c40ca6634ad (diff)
parent1d488e45fc07e0120eb018ab2ccecdcabd0e0707 (diff)
Merge pull request #32101 from Xrayez/doc-fix-ambiguous-test-motion
Fix ambiguous method description regarding `body_test_motion` in 2D
-rw-r--r--doc/classes/Physics2DServer.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Physics2DServer.xml b/doc/classes/Physics2DServer.xml
index ba00438ea1..a139fa4664 100644
--- a/doc/classes/Physics2DServer.xml
+++ b/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">