mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -47,10 +47,11 @@ Tutorials
|
||||
---------
|
||||
|
||||
- :doc:`../tutorials/physics/physics_introduction`
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_Shape2D_custom_solver_bias:
|
||||
.. _class_Shape2D_custom_solver_bias:
|
||||
|
||||
- :ref:`float<class_float>` **custom_solver_bias**
|
||||
|
||||
@@ -63,7 +64,7 @@ Property Descriptions
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_Shape2D_collide:
|
||||
.. _class_Shape2D_collide:
|
||||
|
||||
- :ref:`bool<class_bool>` **collide** **(** :ref:`Transform2D<class_Transform2D>` local_xform, :ref:`Shape2D<class_Shape2D>` with_shape, :ref:`Transform2D<class_Transform2D>` shape_xform **)**
|
||||
|
||||
@@ -71,7 +72,7 @@ Returns ``true`` if this shape is colliding with another.
|
||||
|
||||
This method needs the transformation matrix for this shape (``local_xform``), the shape to check collisions with (``with_shape``), and the transformation matrix of that shape (``shape_xform``).
|
||||
|
||||
.. _class_Shape2D_collide_and_get_contacts:
|
||||
.. _class_Shape2D_collide_and_get_contacts:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **collide_and_get_contacts** **(** :ref:`Transform2D<class_Transform2D>` local_xform, :ref:`Shape2D<class_Shape2D>` with_shape, :ref:`Transform2D<class_Transform2D>` shape_xform **)**
|
||||
|
||||
@@ -79,7 +80,7 @@ Returns a list of the points where this shape touches another. If there are no c
|
||||
|
||||
This method needs the transformation matrix for this shape (``local_xform``), the shape to check collisions with (``with_shape``), and the transformation matrix of that shape (``shape_xform``).
|
||||
|
||||
.. _class_Shape2D_collide_with_motion:
|
||||
.. _class_Shape2D_collide_with_motion:
|
||||
|
||||
- :ref:`bool<class_bool>` **collide_with_motion** **(** :ref:`Transform2D<class_Transform2D>` local_xform, :ref:`Vector2<class_Vector2>` local_motion, :ref:`Shape2D<class_Shape2D>` with_shape, :ref:`Transform2D<class_Transform2D>` shape_xform, :ref:`Vector2<class_Vector2>` shape_motion **)**
|
||||
|
||||
@@ -87,7 +88,7 @@ Return whether this shape would collide with another, if a given movement was ap
|
||||
|
||||
This method needs the transformation matrix for this shape (``local_xform``), the movement to test on this shape (``local_motion``), the shape to check collisions with (``with_shape``), the transformation matrix of that shape (``shape_xform``), and the movement to test onto the other object (``shape_motion``).
|
||||
|
||||
.. _class_Shape2D_collide_with_motion_and_get_contacts:
|
||||
.. _class_Shape2D_collide_with_motion_and_get_contacts:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **collide_with_motion_and_get_contacts** **(** :ref:`Transform2D<class_Transform2D>` local_xform, :ref:`Vector2<class_Vector2>` local_motion, :ref:`Shape2D<class_Shape2D>` with_shape, :ref:`Transform2D<class_Transform2D>` shape_xform, :ref:`Vector2<class_Vector2>` shape_motion **)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user