.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/KinematicCollision2D.xml. .. _class_KinematicCollision2D: KinematicCollision2D ==================== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_angle` **(** :ref:`Vector2` up_direction=Vector2(0, -1) **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_collider` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_collider_id` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`get_collider_rid` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_collider_shape` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_collider_shape_index` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_collider_velocity` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_depth` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_local_shape` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_normal` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_position` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_remainder` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_travel` **(** **)** |const| | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_KinematicCollision2D_method_get_angle: .. rst-class:: classref-method :ref:`float` **get_angle** **(** :ref:`Vector2` up_direction=Vector2(0, -1) **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_collider: .. rst-class:: classref-method :ref:`Object` **get_collider** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_collider_id: .. rst-class:: classref-method :ref:`int` **get_collider_id** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_collider_rid: .. rst-class:: classref-method :ref:`RID` **get_collider_rid** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_collider_shape: .. rst-class:: classref-method :ref:`Object` **get_collider_shape** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_collider_shape_index: .. rst-class:: classref-method :ref:`int` **get_collider_shape_index** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_collider_velocity: .. rst-class:: classref-method :ref:`Vector2` **get_collider_velocity** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_depth: .. rst-class:: classref-method :ref:`float` **get_depth** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_local_shape: .. rst-class:: classref-method :ref:`Object` **get_local_shape** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_normal: .. rst-class:: classref-method :ref:`Vector2` **get_normal** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_position: .. rst-class:: classref-method :ref:`Vector2` **get_position** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_remainder: .. rst-class:: classref-method :ref:`Vector2` **get_remainder** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_KinematicCollision2D_method_get_travel: .. rst-class:: classref-method :ref:`Vector2` **get_travel** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`