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.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/KinematicCollision2D.xml b/doc/classes/KinematicCollision2D.xml
index d7999f1aa0..721b840e99 100644
--- a/doc/classes/KinematicCollision2D.xml
+++ b/doc/classes/KinematicCollision2D.xml
@@ -10,6 +10,13 @@
<tutorials>
</tutorials>
<methods>
+ <method name="get_angle" qualifiers="const">
+ <return type="float" />
+ <argument index="0" name="up_direction" type="Vector2" default="Vector2(0, -1)" />
+ <description>
+ The collision angle according to [code]up_direction[/code], which is [code]Vector2.UP[/code] by default. This value is always positive.
+ </description>
+ </method>
</methods>
<members>
<member name="collider" type="Object" setter="" getter="get_collider">