summaryrefslogtreecommitdiff
path: root/doc/classes/KinematicCollision2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/KinematicCollision2D.xml')
-rw-r--r--doc/classes/KinematicCollision2D.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/classes/KinematicCollision2D.xml b/doc/classes/KinematicCollision2D.xml
index 1f3f0dbb6d..045480f17c 100644
--- a/doc/classes/KinematicCollision2D.xml
+++ b/doc/classes/KinematicCollision2D.xml
@@ -12,7 +12,7 @@
<methods>
<method name="get_angle" qualifiers="const">
<return type="float" />
- <argument index="0" name="up_direction" type="Vector2" default="Vector2(0, -1)" />
+ <param index="0" name="up_direction" type="Vector2" default="Vector2(0, -1)" />
<description>
Returns the collision angle according to [code]up_direction[/code], which is [code]Vector2.UP[/code] by default. This value is always positive.
</description>
@@ -53,6 +53,12 @@
Returns the colliding body's velocity.
</description>
</method>
+ <method name="get_depth" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the colliding body's length of overlap along the collision normal.
+ </description>
+ </method>
<method name="get_local_shape" qualifiers="const">
<return type="Object" />
<description>