classref: Sync with current master branch (46a568e0a)

This commit is contained in:
Rémi Verschelde
2022-08-31 15:18:54 +02:00
parent b08b95d4f5
commit 465dd176b6
378 changed files with 17124 additions and 13692 deletions

View File

@@ -39,6 +39,8 @@ Methods
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Vector2<class_Vector2>` | :ref:`get_collider_velocity<class_KinematicCollision2D_method_get_collider_velocity>` **(** **)** |const| |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`get_depth<class_KinematicCollision2D_method_get_depth>` **(** **)** |const| |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Object<class_Object>` | :ref:`get_local_shape<class_KinematicCollision2D_method_get_local_shape>` **(** **)** |const| |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Vector2<class_Vector2>` | :ref:`get_normal<class_KinematicCollision2D_method_get_normal>` **(** **)** |const| |
@@ -57,7 +59,7 @@ Method Descriptions
- :ref:`float<class_float>` **get_angle** **(** :ref:`Vector2<class_Vector2>` up_direction=Vector2(0, -1) **)** |const|
Returns the collision angle according to ``up_direction``, which is ``Vector2.UP`` by default. This value is always positive.
Returns the collision angle according to ``up_direction``, which is :ref:`Vector2.UP<class_Vector2_constant_UP>` by default. This value is always positive.
----
@@ -109,6 +111,14 @@ Returns the colliding body's velocity.
----
.. _class_KinematicCollision2D_method_get_depth:
- :ref:`float<class_float>` **get_depth** **(** **)** |const|
Returns the colliding body's length of overlap along the collision normal.
----
.. _class_KinematicCollision2D_method_get_local_shape:
- :ref:`Object<class_Object>` **get_local_shape** **(** **)** |const|