Merge pull request #30810 from Xrayez/doc-kinematic-test-only
Make KinematicBody docs consistent regarding `test_only` argument
This commit is contained in:
commit
7d1dd54d8b
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<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.
|
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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="move_and_slide">
|
<method name="move_and_slide">
|
||||||
|
|
Loading…
Reference in a new issue