Browse Source

Merge pull request #30810 from Xrayez/doc-kinematic-test-only

Make KinematicBody docs consistent regarding `test_only` argument
Rémi Verschelde 6 years ago
parent
commit
7d1dd54d8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/KinematicBody2D.xml

+ 1 - 0
doc/classes/KinematicBody2D.xml

@@ -76,6 +76,7 @@
 			</argument>
 			<description>
 				Moves the body along the vector [code]rel_vec[/code]. The body will stop if it collides. Returns a [KinematicCollision2D], which contains information about the collision.
+				If [code]test_only[/code] is [code]true[/code], the body does not move but the would-be collision information is given.
 			</description>
 		</method>
 		<method name="move_and_slide">