mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
2045 lines
225 KiB
ReStructuredText
2045 lines
225 KiB
ReStructuredText
:github_url: hide
|
||
|
||
.. _class_PhysicsServer2DExtension:
|
||
|
||
PhysicsServer2DExtension
|
||
========================
|
||
|
||
**Успадковує:** :ref:`PhysicsServer2D<class_PhysicsServer2D>` **<** :ref:`Object<class_Object>`
|
||
|
||
Забезпечує віртуальні методи, які можуть передаватися для створення користувацького :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
Опис
|
||
--------
|
||
|
||
Цей клас поширюється на :ref:`PhysicsServer2D<class_PhysicsServer2D>` шляхом надання додаткових віртуальних методів, які можуть передаватися. Коли ці методи перевантажуються, вони будуть називатися замість внутрішніх методів фізичного сервера.
|
||
|
||
Призначений для використання з GDExtension для створення користувацького впровадження :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
Методи
|
||
------------
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_add_shape<class_PhysicsServer2DExtension_private_method__area_add_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_attach_canvas_instance_id<class_PhysicsServer2DExtension_private_method__area_attach_canvas_instance_id>`\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_attach_object_instance_id<class_PhysicsServer2DExtension_private_method__area_attach_object_instance_id>`\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_clear_shapes<class_PhysicsServer2DExtension_private_method__area_clear_shapes>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_area_create<class_PhysicsServer2DExtension_private_method__area_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_area_get_canvas_instance_id<class_PhysicsServer2DExtension_private_method__area_get_canvas_instance_id>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_area_get_collision_layer<class_PhysicsServer2DExtension_private_method__area_get_collision_layer>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_area_get_collision_mask<class_PhysicsServer2DExtension_private_method__area_get_collision_mask>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_area_get_object_instance_id<class_PhysicsServer2DExtension_private_method__area_get_object_instance_id>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Variant<class_Variant>` | :ref:`_area_get_param<class_PhysicsServer2DExtension_private_method__area_get_param>`\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_area_get_shape<class_PhysicsServer2DExtension_private_method__area_get_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_area_get_shape_count<class_PhysicsServer2DExtension_private_method__area_get_shape_count>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Transform2D<class_Transform2D>` | :ref:`_area_get_shape_transform<class_PhysicsServer2DExtension_private_method__area_get_shape_transform>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_area_get_space<class_PhysicsServer2DExtension_private_method__area_get_space>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Transform2D<class_Transform2D>` | :ref:`_area_get_transform<class_PhysicsServer2DExtension_private_method__area_get_transform>`\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_remove_shape<class_PhysicsServer2DExtension_private_method__area_remove_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_area_monitor_callback<class_PhysicsServer2DExtension_private_method__area_set_area_monitor_callback>`\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_collision_layer<class_PhysicsServer2DExtension_private_method__area_set_collision_layer>`\ (\ area\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_collision_mask<class_PhysicsServer2DExtension_private_method__area_set_collision_mask>`\ (\ area\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_monitor_callback<class_PhysicsServer2DExtension_private_method__area_set_monitor_callback>`\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_monitorable<class_PhysicsServer2DExtension_private_method__area_set_monitorable>`\ (\ area\: :ref:`RID<class_RID>`, monitorable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_param<class_PhysicsServer2DExtension_private_method__area_set_param>`\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_pickable<class_PhysicsServer2DExtension_private_method__area_set_pickable>`\ (\ area\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_shape<class_PhysicsServer2DExtension_private_method__area_set_shape>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_shape_disabled<class_PhysicsServer2DExtension_private_method__area_set_shape_disabled>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_shape_transform<class_PhysicsServer2DExtension_private_method__area_set_shape_transform>`\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_space<class_PhysicsServer2DExtension_private_method__area_set_space>`\ (\ area\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_area_set_transform<class_PhysicsServer2DExtension_private_method__area_set_transform>`\ (\ area\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_add_collision_exception<class_PhysicsServer2DExtension_private_method__body_add_collision_exception>`\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_add_constant_central_force<class_PhysicsServer2DExtension_private_method__body_add_constant_central_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_add_constant_force<class_PhysicsServer2DExtension_private_method__body_add_constant_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_add_constant_torque<class_PhysicsServer2DExtension_private_method__body_add_constant_torque>`\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_add_shape<class_PhysicsServer2DExtension_private_method__body_add_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_apply_central_force<class_PhysicsServer2DExtension_private_method__body_apply_central_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_apply_central_impulse<class_PhysicsServer2DExtension_private_method__body_apply_central_impulse>`\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_apply_force<class_PhysicsServer2DExtension_private_method__body_apply_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_apply_impulse<class_PhysicsServer2DExtension_private_method__body_apply_impulse>`\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_apply_torque<class_PhysicsServer2DExtension_private_method__body_apply_torque>`\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_apply_torque_impulse<class_PhysicsServer2DExtension_private_method__body_apply_torque_impulse>`\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_attach_canvas_instance_id<class_PhysicsServer2DExtension_private_method__body_attach_canvas_instance_id>`\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_attach_object_instance_id<class_PhysicsServer2DExtension_private_method__body_attach_object_instance_id>`\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_clear_shapes<class_PhysicsServer2DExtension_private_method__body_clear_shapes>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_body_collide_shape<class_PhysicsServer2DExtension_private_method__body_collide_shape>`\ (\ body\: :ref:`RID<class_RID>`, body_shape\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`, shape_xform\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_body_create<class_PhysicsServer2DExtension_private_method__body_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_body_get_canvas_instance_id<class_PhysicsServer2DExtension_private_method__body_get_canvas_instance_id>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Array<class_Array>`\[:ref:`RID<class_RID>`\] | :ref:`_body_get_collision_exceptions<class_PhysicsServer2DExtension_private_method__body_get_collision_exceptions>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_body_get_collision_layer<class_PhysicsServer2DExtension_private_method__body_get_collision_layer>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_body_get_collision_mask<class_PhysicsServer2DExtension_private_method__body_get_collision_mask>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_body_get_collision_priority<class_PhysicsServer2DExtension_private_method__body_get_collision_priority>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Vector2<class_Vector2>` | :ref:`_body_get_constant_force<class_PhysicsServer2DExtension_private_method__body_get_constant_force>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_body_get_constant_torque<class_PhysicsServer2DExtension_private_method__body_get_constant_torque>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_body_get_contacts_reported_depth_threshold<class_PhysicsServer2DExtension_private_method__body_get_contacts_reported_depth_threshold>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` | :ref:`_body_get_continuous_collision_detection_mode<class_PhysicsServer2DExtension_private_method__body_get_continuous_collision_detection_mode>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`PhysicsDirectBodyState2D<class_PhysicsDirectBodyState2D>` | :ref:`_body_get_direct_state<class_PhysicsServer2DExtension_private_method__body_get_direct_state>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_body_get_max_contacts_reported<class_PhysicsServer2DExtension_private_method__body_get_max_contacts_reported>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` | :ref:`_body_get_mode<class_PhysicsServer2DExtension_private_method__body_get_mode>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_body_get_object_instance_id<class_PhysicsServer2DExtension_private_method__body_get_object_instance_id>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Variant<class_Variant>` | :ref:`_body_get_param<class_PhysicsServer2DExtension_private_method__body_get_param>`\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_body_get_shape<class_PhysicsServer2DExtension_private_method__body_get_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_body_get_shape_count<class_PhysicsServer2DExtension_private_method__body_get_shape_count>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Transform2D<class_Transform2D>` | :ref:`_body_get_shape_transform<class_PhysicsServer2DExtension_private_method__body_get_shape_transform>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_body_get_space<class_PhysicsServer2DExtension_private_method__body_get_space>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Variant<class_Variant>` | :ref:`_body_get_state<class_PhysicsServer2DExtension_private_method__body_get_state>`\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_body_is_omitting_force_integration<class_PhysicsServer2DExtension_private_method__body_is_omitting_force_integration>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_remove_collision_exception<class_PhysicsServer2DExtension_private_method__body_remove_collision_exception>`\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_remove_shape<class_PhysicsServer2DExtension_private_method__body_remove_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_reset_mass_properties<class_PhysicsServer2DExtension_private_method__body_reset_mass_properties>`\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_axis_velocity<class_PhysicsServer2DExtension_private_method__body_set_axis_velocity>`\ (\ body\: :ref:`RID<class_RID>`, axis_velocity\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_collision_layer<class_PhysicsServer2DExtension_private_method__body_set_collision_layer>`\ (\ body\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_collision_mask<class_PhysicsServer2DExtension_private_method__body_set_collision_mask>`\ (\ body\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_collision_priority<class_PhysicsServer2DExtension_private_method__body_set_collision_priority>`\ (\ body\: :ref:`RID<class_RID>`, priority\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_constant_force<class_PhysicsServer2DExtension_private_method__body_set_constant_force>`\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_constant_torque<class_PhysicsServer2DExtension_private_method__body_set_constant_torque>`\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_contacts_reported_depth_threshold<class_PhysicsServer2DExtension_private_method__body_set_contacts_reported_depth_threshold>`\ (\ body\: :ref:`RID<class_RID>`, threshold\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_continuous_collision_detection_mode<class_PhysicsServer2DExtension_private_method__body_set_continuous_collision_detection_mode>`\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_force_integration_callback<class_PhysicsServer2DExtension_private_method__body_set_force_integration_callback>`\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`, userdata\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_max_contacts_reported<class_PhysicsServer2DExtension_private_method__body_set_max_contacts_reported>`\ (\ body\: :ref:`RID<class_RID>`, amount\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_mode<class_PhysicsServer2DExtension_private_method__body_set_mode>`\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_omit_force_integration<class_PhysicsServer2DExtension_private_method__body_set_omit_force_integration>`\ (\ body\: :ref:`RID<class_RID>`, enable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_param<class_PhysicsServer2DExtension_private_method__body_set_param>`\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_pickable<class_PhysicsServer2DExtension_private_method__body_set_pickable>`\ (\ body\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_shape<class_PhysicsServer2DExtension_private_method__body_set_shape>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_shape_as_one_way_collision<class_PhysicsServer2DExtension_private_method__body_set_shape_as_one_way_collision>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, enable\: :ref:`bool<class_bool>`, margin\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_shape_disabled<class_PhysicsServer2DExtension_private_method__body_set_shape_disabled>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_shape_transform<class_PhysicsServer2DExtension_private_method__body_set_shape_transform>`\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_space<class_PhysicsServer2DExtension_private_method__body_set_space>`\ (\ body\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_state<class_PhysicsServer2DExtension_private_method__body_set_state>`\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_body_set_state_sync_callback<class_PhysicsServer2DExtension_private_method__body_set_state_sync_callback>`\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_body_test_motion<class_PhysicsServer2DExtension_private_method__body_test_motion>`\ (\ body\: :ref:`RID<class_RID>`, from\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, margin\: :ref:`float<class_float>`, collide_separation_ray\: :ref:`bool<class_bool>`, recovery_as_collision\: :ref:`bool<class_bool>`, result\: ``PhysicsServer2DExtensionMotionResult*``\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_capsule_shape_create<class_PhysicsServer2DExtension_private_method__capsule_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_circle_shape_create<class_PhysicsServer2DExtension_private_method__circle_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_concave_polygon_shape_create<class_PhysicsServer2DExtension_private_method__concave_polygon_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_convex_polygon_shape_create<class_PhysicsServer2DExtension_private_method__convex_polygon_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_damped_spring_joint_get_param<class_PhysicsServer2DExtension_private_method__damped_spring_joint_get_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_damped_spring_joint_set_param<class_PhysicsServer2DExtension_private_method__damped_spring_joint_set_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_end_sync<class_PhysicsServer2DExtension_private_method__end_sync>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_finish<class_PhysicsServer2DExtension_private_method__finish>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_flush_queries<class_PhysicsServer2DExtension_private_method__flush_queries>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_free_rid<class_PhysicsServer2DExtension_private_method__free_rid>`\ (\ rid\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_get_process_info<class_PhysicsServer2DExtension_private_method__get_process_info>`\ (\ process_info\: :ref:`ProcessInfo<enum_PhysicsServer2D_ProcessInfo>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_init<class_PhysicsServer2DExtension_private_method__init>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_is_flushing_queries<class_PhysicsServer2DExtension_private_method__is_flushing_queries>`\ (\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_joint_clear<class_PhysicsServer2DExtension_private_method__joint_clear>`\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_joint_create<class_PhysicsServer2DExtension_private_method__joint_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_joint_disable_collisions_between_bodies<class_PhysicsServer2DExtension_private_method__joint_disable_collisions_between_bodies>`\ (\ joint\: :ref:`RID<class_RID>`, disable\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_joint_get_param<class_PhysicsServer2DExtension_private_method__joint_get_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`JointType<enum_PhysicsServer2D_JointType>` | :ref:`_joint_get_type<class_PhysicsServer2DExtension_private_method__joint_get_type>`\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_joint_is_disabled_collisions_between_bodies<class_PhysicsServer2DExtension_private_method__joint_is_disabled_collisions_between_bodies>`\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_joint_make_damped_spring<class_PhysicsServer2DExtension_private_method__joint_make_damped_spring>`\ (\ joint\: :ref:`RID<class_RID>`, anchor_a\: :ref:`Vector2<class_Vector2>`, anchor_b\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_joint_make_groove<class_PhysicsServer2DExtension_private_method__joint_make_groove>`\ (\ joint\: :ref:`RID<class_RID>`, a_groove1\: :ref:`Vector2<class_Vector2>`, a_groove2\: :ref:`Vector2<class_Vector2>`, b_anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_joint_make_pin<class_PhysicsServer2DExtension_private_method__joint_make_pin>`\ (\ joint\: :ref:`RID<class_RID>`, anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_joint_set_param<class_PhysicsServer2DExtension_private_method__joint_set_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_pin_joint_get_flag<class_PhysicsServer2DExtension_private_method__pin_joint_get_flag>`\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_pin_joint_get_param<class_PhysicsServer2DExtension_private_method__pin_joint_get_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_pin_joint_set_flag<class_PhysicsServer2DExtension_private_method__pin_joint_set_flag>`\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`, enabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_pin_joint_set_param<class_PhysicsServer2DExtension_private_method__pin_joint_set_param>`\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_rectangle_shape_create<class_PhysicsServer2DExtension_private_method__rectangle_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_segment_shape_create<class_PhysicsServer2DExtension_private_method__segment_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_separation_ray_shape_create<class_PhysicsServer2DExtension_private_method__separation_ray_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_set_active<class_PhysicsServer2DExtension_private_method__set_active>`\ (\ active\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_shape_collide<class_PhysicsServer2DExtension_private_method__shape_collide>`\ (\ shape_A\: :ref:`RID<class_RID>`, xform_A\: :ref:`Transform2D<class_Transform2D>`, motion_A\: :ref:`Vector2<class_Vector2>`, shape_B\: :ref:`RID<class_RID>`, xform_B\: :ref:`Transform2D<class_Transform2D>`, motion_B\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_shape_get_custom_solver_bias<class_PhysicsServer2DExtension_private_method__shape_get_custom_solver_bias>`\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`Variant<class_Variant>` | :ref:`_shape_get_data<class_PhysicsServer2DExtension_private_method__shape_get_data>`\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`ShapeType<enum_PhysicsServer2D_ShapeType>` | :ref:`_shape_get_type<class_PhysicsServer2DExtension_private_method__shape_get_type>`\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_shape_set_custom_solver_bias<class_PhysicsServer2DExtension_private_method__shape_set_custom_solver_bias>`\ (\ shape\: :ref:`RID<class_RID>`, bias\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_shape_set_data<class_PhysicsServer2DExtension_private_method__shape_set_data>`\ (\ shape\: :ref:`RID<class_RID>`, data\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_space_create<class_PhysicsServer2DExtension_private_method__space_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`int<class_int>` | :ref:`_space_get_contact_count<class_PhysicsServer2DExtension_private_method__space_get_contact_count>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`PackedVector2Array<class_PackedVector2Array>` | :ref:`_space_get_contacts<class_PhysicsServer2DExtension_private_method__space_get_contacts>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`PhysicsDirectSpaceState2D<class_PhysicsDirectSpaceState2D>` | :ref:`_space_get_direct_state<class_PhysicsServer2DExtension_private_method__space_get_direct_state>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`_space_get_param<class_PhysicsServer2DExtension_private_method__space_get_param>`\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`_space_is_active<class_PhysicsServer2DExtension_private_method__space_is_active>`\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_space_set_active<class_PhysicsServer2DExtension_private_method__space_set_active>`\ (\ space\: :ref:`RID<class_RID>`, active\: :ref:`bool<class_bool>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_space_set_debug_contacts<class_PhysicsServer2DExtension_private_method__space_set_debug_contacts>`\ (\ space\: :ref:`RID<class_RID>`, max_contacts\: :ref:`int<class_int>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_space_set_param<class_PhysicsServer2DExtension_private_method__space_set_param>`\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_step<class_PhysicsServer2DExtension_private_method__step>`\ (\ step\: :ref:`float<class_float>`\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`_sync<class_PhysicsServer2DExtension_private_method__sync>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`RID<class_RID>` | :ref:`_world_boundary_shape_create<class_PhysicsServer2DExtension_private_method__world_boundary_shape_create>`\ (\ ) |virtual| |required| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`body_test_motion_is_excluding_body<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body>`\ (\ body\: :ref:`RID<class_RID>`\ ) |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`body_test_motion_is_excluding_object<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object>`\ (\ object\: :ref:`int<class_int>`\ ) |const| |
|
||
+-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Описи методів
|
||
--------------------------
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_add_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_add_shape**\ (\ area\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_add_shape>`
|
||
|
||
Перевизначувана версія of :ref:`PhysicsServer2D.area_add_shape()<class_PhysicsServer2D_method_area_add_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_attach_canvas_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_attach_canvas_instance_id**\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_attach_canvas_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_attach_canvas_instance_id()<class_PhysicsServer2D_method_area_attach_canvas_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_attach_object_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_attach_object_instance_id**\ (\ area\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_attach_object_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_attach_object_instance_id()<class_PhysicsServer2D_method_area_attach_object_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_clear_shapes:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_clear_shapes**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_clear_shapes>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_clear_shapes()<class_PhysicsServer2D_method_area_clear_shapes>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_area_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_create>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_create()<class_PhysicsServer2D_method_area_create>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_canvas_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_area_get_canvas_instance_id**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_canvas_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_canvas_instance_id()<class_PhysicsServer2D_method_area_get_canvas_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_collision_layer:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_area_get_collision_layer**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_collision_layer>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_collision_layer()<class_PhysicsServer2D_method_area_get_collision_layer>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_collision_mask:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_area_get_collision_mask**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_collision_mask>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_collision_mask()<class_PhysicsServer2D_method_area_get_collision_mask>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_object_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_area_get_object_instance_id**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_object_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_object_instance_id()<class_PhysicsServer2D_method_area_get_object_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Variant<class_Variant>` **_area_get_param**\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_param>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_param()<class_PhysicsServer2D_method_area_get_param>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_area_get_shape**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_shape>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_shape()<class_PhysicsServer2D_method_area_get_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_shape_count:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_area_get_shape_count**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_shape_count>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_shape_count()<class_PhysicsServer2D_method_area_get_shape_count>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_shape_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Transform2D<class_Transform2D>` **_area_get_shape_transform**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_shape_transform>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_shape_transform()<class_PhysicsServer2D_method_area_get_shape_transform>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_space:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_area_get_space**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_space>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_space()<class_PhysicsServer2D_method_area_get_space>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_get_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Transform2D<class_Transform2D>` **_area_get_transform**\ (\ area\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_get_transform>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_get_transform()<class_PhysicsServer2D_method_area_get_transform>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_remove_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_remove_shape**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_remove_shape>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_remove_shape()<class_PhysicsServer2D_method_area_remove_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_area_monitor_callback:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_area_monitor_callback**\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_area_monitor_callback>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_area_monitor_callback()<class_PhysicsServer2D_method_area_set_area_monitor_callback>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_collision_layer:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_collision_layer**\ (\ area\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_collision_layer>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_collision_layer()<class_PhysicsServer2D_method_area_set_collision_layer>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_collision_mask:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_collision_mask**\ (\ area\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_collision_mask>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_collision_mask()<class_PhysicsServer2D_method_area_set_collision_mask>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_monitor_callback:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_monitor_callback**\ (\ area\: :ref:`RID<class_RID>`, callback\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_monitor_callback>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_monitor_callback()<class_PhysicsServer2D_method_area_set_monitor_callback>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_monitorable:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_monitorable**\ (\ area\: :ref:`RID<class_RID>`, monitorable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_monitorable>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_monitorable()<class_PhysicsServer2D_method_area_set_monitorable>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_param**\ (\ area\: :ref:`RID<class_RID>`, param\: :ref:`AreaParameter<enum_PhysicsServer2D_AreaParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_param>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_param()<class_PhysicsServer2D_method_area_set_param>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_pickable:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_pickable**\ (\ area\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_pickable>`
|
||
|
||
Якщо встановити до ``true``, дозволяє області з вказаною :ref:`RID<class_RID>` для виявлення вводів мишки, коли курсор мишки ховається на ньому.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішня ``area_set_pickable`` метод. Кореспонденти до :ref:`CollisionObject2D.input_pickable()<class_CollisionObject2D_method_input_pickable>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_shape**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_shape>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_shape()<class_PhysicsServer2D_method_area_set_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_shape_disabled:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_shape_disabled**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_shape_disabled>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_shape_disabled()<class_PhysicsServer2D_method_area_set_shape_disabled>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_shape_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_shape_transform**\ (\ area\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_shape_transform>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_shape_transform()<class_PhysicsServer2D_method_area_set_shape_transform>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_space:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_space**\ (\ area\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_space>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_space()<class_PhysicsServer2D_method_area_set_space>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__area_set_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_area_set_transform**\ (\ area\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__area_set_transform>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.area_set_transform()<class_PhysicsServer2D_method_area_set_transform>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_add_collision_exception:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_add_collision_exception**\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_collision_exception>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_add_collision_exception()<class_PhysicsServer2D_method_body_add_collision_exception>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_add_constant_central_force:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_add_constant_central_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_constant_central_force>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_add_constant_central_force()<class_PhysicsServer2D_method_body_add_constant_central_force>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_add_constant_force:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_add_constant_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_constant_force>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_add_constant_force()<class_PhysicsServer2D_method_body_add_constant_force>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_add_constant_torque:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_add_constant_torque**\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_constant_torque>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_add_constant_torque()<class_PhysicsServer2D_method_body_add_constant_torque>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_add_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_add_shape**\ (\ body\: :ref:`RID<class_RID>`, shape\: :ref:`RID<class_RID>`, transform\: :ref:`Transform2D<class_Transform2D>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_add_shape>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_add_shape()<class_PhysicsServer2D_method_body_add_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_apply_central_force:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_apply_central_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_central_force>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_apply_central_force()<class_PhysicsServer2D_method_body_apply_central_force>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_apply_central_impulse:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_apply_central_impulse**\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_central_impulse>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_apply_central_impulse()<class_PhysicsServer2D_method_body_apply_central_impulse>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_apply_force:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_apply_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_force>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_apply_force()<class_PhysicsServer2D_method_body_apply_force>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_apply_impulse:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_apply_impulse**\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`Vector2<class_Vector2>`, position\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_impulse>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_apply_impulse()<class_PhysicsServer2D_method_body_apply_impulse>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_apply_torque:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_apply_torque**\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_torque>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_apply_torque()<class_PhysicsServer2D_method_body_apply_torque>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_apply_torque_impulse:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_apply_torque_impulse**\ (\ body\: :ref:`RID<class_RID>`, impulse\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_apply_torque_impulse>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_apply_torque_impulse()<class_PhysicsServer2D_method_body_apply_torque_impulse>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_attach_canvas_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_attach_canvas_instance_id**\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_attach_canvas_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_attach_canvas_instance_id()<class_PhysicsServer2D_method_body_attach_canvas_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_attach_object_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_attach_object_instance_id**\ (\ body\: :ref:`RID<class_RID>`, id\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_attach_object_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_attach_object_instance_id()<class_PhysicsServer2D_method_body_attach_object_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_clear_shapes:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_clear_shapes**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_clear_shapes>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_clear_shapes()<class_PhysicsServer2D_method_body_clear_shapes>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_collide_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_body_collide_shape**\ (\ body\: :ref:`RID<class_RID>`, body_shape\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`, shape_xform\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_collide_shape>`
|
||
|
||
З огляду на ``body``, ``shape``, і відповідні параметри, цей метод повинен повернутися ``true``, якщо виникне зіткнення між двома, з додатковими деталями, що пропускаються в ``парамі результати``.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``shape_collide`` метод. Кореспонденти до :ref:`PhysicsDirectSpaceState2D.collide_shape()<class_PhysicsDirectSpaceState2D_method_collide_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_body_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_create>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_create()<class_PhysicsServer2D_method_body_create>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_canvas_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_body_get_canvas_instance_id**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_canvas_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_canvas_instance_id()<class_PhysicsServer2D_method_body_get_canvas_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_collision_exceptions:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Array<class_Array>`\[:ref:`RID<class_RID>`\] **_body_get_collision_exceptions**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_exceptions>`
|
||
|
||
Повернутися до :ref:`RID<class_RID>` всіх органів, які додані в якості винятків зіткнень для вказаного ``body``. Дивись також :ref:`_body_add_collision_exception()<class_PhysicsServer2DExtension_private_method__body_add_collision_exception>` і :ref:`_body_remove_collision_exception()<class_PhysicsServer2DExtension_private_method__body_remove_collision_exception>`.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішня ``body_get_collision_exceptions`` метод. Кореспонденти до :ref:`PhysicsBody2D.get_collision_exceptions()<class_PhysicsBody2D_method_get_collision_exceptions>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_collision_layer:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_body_get_collision_layer**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_layer>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_collision_layer()<class_PhysicsServer2D_method_body_get_collision_layer>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_collision_mask:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_body_get_collision_mask**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_mask>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_collision_mask()<class_PhysicsServer2D_method_body_get_collision_mask>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_collision_priority:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_body_get_collision_priority**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_collision_priority>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_collision_priority()<class_PhysicsServer2D_method_body_get_collision_priority>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_constant_force:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Vector2<class_Vector2>` **_body_get_constant_force**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_constant_force>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_constant_force()<class_PhysicsServer2D_method_body_get_constant_force>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_constant_torque:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_body_get_constant_torque**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_constant_torque>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_constant_torque()<class_PhysicsServer2D_method_body_get_constant_torque>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_contacts_reported_depth_threshold:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_body_get_contacts_reported_depth_threshold**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_contacts_reported_depth_threshold>`
|
||
|
||
Перевизначувана версія внутрішнього методу ``body_get_contacts_reported_depth_threshold`` класу :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
|
||
|
||
\ **Примітка:** Цей метод наразі не використовується реалізацією фізики Godot за замовчуванням.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_continuous_collision_detection_mode:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`CCDMode<enum_PhysicsServer2D_CCDMode>` **_body_get_continuous_collision_detection_mode**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_continuous_collision_detection_mode>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_continuous_collision_detection_mode()<class_PhysicsServer2D_method_body_get_continuous_collision_detection_mode>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_direct_state:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`PhysicsDirectBodyState2D<class_PhysicsDirectBodyState2D>` **_body_get_direct_state**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_direct_state>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_direct_state()<class_PhysicsServer2D_method_body_get_direct_state>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_max_contacts_reported:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_body_get_max_contacts_reported**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_max_contacts_reported>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_max_contacts_reported()<class_PhysicsServer2D_method_body_get_max_contacts_reported>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_mode:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`BodyMode<enum_PhysicsServer2D_BodyMode>` **_body_get_mode**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_mode>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_mode()<class_PhysicsServer2D_method_body_get_mode>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_object_instance_id:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_body_get_object_instance_id**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_object_instance_id>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_object_instance_id()<class_PhysicsServer2D_method_body_get_object_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Variant<class_Variant>` **_body_get_param**\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_param>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_param()<class_PhysicsServer2D_method_body_get_param>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_body_get_shape**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_shape>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_shape()<class_PhysicsServer2D_method_body_get_shape>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_shape_count:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_body_get_shape_count**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_shape_count>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_shape_count()<class_PhysicsServer2D_method_body_get_shape_count>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_shape_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Transform2D<class_Transform2D>` **_body_get_shape_transform**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_shape_transform>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_shape_transform()<class_PhysicsServer2D_method_body_get_shape_transform>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_space:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_body_get_space**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_space>`
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_get_space()<class_PhysicsServer2D_method_body_get_space>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_get_state:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Variant<class_Variant>` **_body_get_state**\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_get_state>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_get_state()<class_PhysicsServer2D_method_body_get_state>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_is_omitting_force_integration:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_body_is_omitting_force_integration**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_is_omitting_force_integration>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_is_omitting_force_integration()<class_PhysicsServer2D_method_body_is_omitting_force_integration>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_remove_collision_exception:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_remove_collision_exception**\ (\ body\: :ref:`RID<class_RID>`, excepted_body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_remove_collision_exception>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_remove_collision_exception()<class_PhysicsServer2D_method_body_remove_collision_exception>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_remove_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_remove_shape**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_remove_shape>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_remove_shape()<class_PhysicsServer2D_method_body_remove_shape>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_reset_mass_properties:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_reset_mass_properties**\ (\ body\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_reset_mass_properties>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_reset_mass_properties()<class_PhysicsServer2D_method_body_reset_mass_properties>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_axis_velocity:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_axis_velocity**\ (\ body\: :ref:`RID<class_RID>`, axis_velocity\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_axis_velocity>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_axis_velocity()<class_PhysicsServer2D_method_body_set_axis_velocity>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_collision_layer:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_collision_layer**\ (\ body\: :ref:`RID<class_RID>`, layer\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_collision_layer>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_collision_layer()<class_PhysicsServer2D_method_body_set_collision_layer>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_collision_mask:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_collision_mask**\ (\ body\: :ref:`RID<class_RID>`, mask\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_collision_mask>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_collision_mask()<class_PhysicsServer2D_method_body_set_collision_mask>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_collision_priority:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_collision_priority**\ (\ body\: :ref:`RID<class_RID>`, priority\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_collision_priority>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_collision_priority()<class_PhysicsServer2D_method_body_set_collision_priority>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_constant_force:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_constant_force**\ (\ body\: :ref:`RID<class_RID>`, force\: :ref:`Vector2<class_Vector2>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_constant_force>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_constant_force()<class_PhysicsServer2D_method_body_set_constant_force>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_constant_torque:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_constant_torque**\ (\ body\: :ref:`RID<class_RID>`, torque\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_constant_torque>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_constant_torque()<class_PhysicsServer2D_method_body_set_constant_torque>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_contacts_reported_depth_threshold:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_contacts_reported_depth_threshold**\ (\ body\: :ref:`RID<class_RID>`, threshold\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_contacts_reported_depth_threshold>`
|
||
|
||
Перевизначувана версія внутрішнього методу ``body_set_contacts_reported_depth_threshold`` класу :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
|
||
|
||
\ **Примітка:** Цей метод наразі не використовується реалізацією фізики Godot за замовчуванням.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_continuous_collision_detection_mode:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_continuous_collision_detection_mode**\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`CCDMode<enum_PhysicsServer2D_CCDMode>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_continuous_collision_detection_mode>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_continuous_collision_detection_mode()<class_PhysicsServer2D_method_body_set_continuous_collision_detection_mode>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_force_integration_callback:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_force_integration_callback**\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`, userdata\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_force_integration_callback>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_force_integration_callback()<class_PhysicsServer2D_method_body_set_force_integration_callback>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_max_contacts_reported:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_max_contacts_reported**\ (\ body\: :ref:`RID<class_RID>`, amount\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_max_contacts_reported>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_max_contacts_reported()<class_PhysicsServer2D_method_body_set_max_contacts_reported>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_mode:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_mode**\ (\ body\: :ref:`RID<class_RID>`, mode\: :ref:`BodyMode<enum_PhysicsServer2D_BodyMode>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_mode>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_mode()<class_PhysicsServer2D_method_body_set_mode>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_omit_force_integration:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_omit_force_integration**\ (\ body\: :ref:`RID<class_RID>`, enable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_omit_force_integration>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_omit_force_integration()<class_PhysicsServer2D_method_body_set_omit_force_integration>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_param**\ (\ body\: :ref:`RID<class_RID>`, param\: :ref:`BodyParameter<enum_PhysicsServer2D_BodyParameter>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_param()<class_PhysicsServer2D_method_body_set_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_pickable:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_pickable**\ (\ body\: :ref:`RID<class_RID>`, pickable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_pickable>`
|
||
|
||
Якщо встановити до ``true``, дозволяє тіло з вказаною :ref:`RID<class_RID>` для виявлення вводів мишки, коли курсор мишки переховається на ньому.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішня ``body_set_pickable`` метод. Кореспонденти до :ref:`CollisionObject2D.input_pickable<class_CollisionObject2D_property_input_pickable>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_shape:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_shape**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_shape()<class_PhysicsServer2D_method_body_set_shape>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_shape_as_one_way_collision:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_shape_as_one_way_collision**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, enable\: :ref:`bool<class_bool>`, margin\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape_as_one_way_collision>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_shape_as_one_way_collision()<class_PhysicsServer2D_method_body_set_shape_as_one_way_collision>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_shape_disabled:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_shape_disabled**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, disabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape_disabled>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_shape_disabled()<class_PhysicsServer2D_method_body_set_shape_disabled>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_shape_transform:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_shape_transform**\ (\ body\: :ref:`RID<class_RID>`, shape_idx\: :ref:`int<class_int>`, transform\: :ref:`Transform2D<class_Transform2D>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_shape_transform>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_shape_transform()<class_PhysicsServer2D_method_body_set_shape_transform>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_space:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_space**\ (\ body\: :ref:`RID<class_RID>`, space\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_space>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_space()<class_PhysicsServer2D_method_body_set_space>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_state:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_state**\ (\ body\: :ref:`RID<class_RID>`, state\: :ref:`BodyState<enum_PhysicsServer2D_BodyState>`, value\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_state>`
|
||
|
||
Версія :ref:`PhysicsServer2D.body_set_state()<class_PhysicsServer2D_method_body_set_state>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_set_state_sync_callback:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_body_set_state_sync_callback**\ (\ body\: :ref:`RID<class_RID>`, callable\: :ref:`Callable<class_Callable>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_set_state_sync_callback>`
|
||
|
||
Призначає ``body`` для виклику заданого ``callable`` під час фази синхронізації циклу, перед викликом :ref:`_step()<class_PhysicsServer2DExtension_private_method__step>`. Див. також :ref:`_sync()<class_PhysicsServer2DExtension_private_method__sync>`.
|
||
|
||
Перевизначена версія :ref:`PhysicsServer2D.body_set_state_sync_callback()<class_PhysicsServer2D_method_body_set_state_sync_callback>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__body_test_motion:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_body_test_motion**\ (\ body\: :ref:`RID<class_RID>`, from\: :ref:`Transform2D<class_Transform2D>`, motion\: :ref:`Vector2<class_Vector2>`, margin\: :ref:`float<class_float>`, collide_separation_ray\: :ref:`bool<class_bool>`, recovery_as_collision\: :ref:`bool<class_bool>`, result\: ``PhysicsServer2DExtensionMotionResult*``\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__body_test_motion>`
|
||
|
||
Перевизначувана версія методу :ref:`PhysicsServer2D.body_test_motion()<class_PhysicsServer2D_method_body_test_motion>`. На відміну від відкритої реалізації, цей метод не отримує всі аргументи всередині :ref:`PhysicsTestMotionParameters2D<class_PhysicsTestMotionParameters2D>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__capsule_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_capsule_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__capsule_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.capsule_shape_create()<class_PhysicsServer2D_method_capsule_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__circle_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_circle_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__circle_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.circle_shape_create()<class_PhysicsServer2D_method_circle_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__concave_polygon_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_concave_polygon_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__concave_polygon_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.concave_polygon_shape_create()<class_PhysicsServer2D_method_concave_polygon_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__convex_polygon_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_convex_polygon_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__convex_polygon_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.convex_polygon_shape_create()<class_PhysicsServer2D_method_convex_polygon_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__damped_spring_joint_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_damped_spring_joint_get_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__damped_spring_joint_get_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.damped_spring_joint_get_param()<class_PhysicsServer2D_method_damped_spring_joint_get_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__damped_spring_joint_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_damped_spring_joint_set_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`DampedSpringParam<enum_PhysicsServer2D_DampedSpringParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__damped_spring_joint_set_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.damped_spring_joint_set_param()<class_PhysicsServer2D_method_damped_spring_joint_set_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__end_sync:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_end_sync**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__end_sync>`
|
||
|
||
Зателефонуйте, що сервер фізики припинив синхронізацію. У фазі петля/фізики можна отримати доступ до фізичних об'єктів, навіть якщо виконується на окремій нитки. Дивіться також :ref:`_sync()<class_PhysicsServer2DExtension_private_method__sync>`.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``end_sync`` метод.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__finish:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_finish**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__finish>`
|
||
|
||
Викликається при головному петлю завершується заключення сервера фізики. Дивись також :ref:`MainLoop._finalize()<class_MainLoop_private_method__finalize>` і :ref:`_init()<class_PhysicsServer2DExtension_private_method__init>`.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``фініш`` метод.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__flush_queries:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_flush_queries**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__flush_queries>`
|
||
|
||
Зателефонуйте кожному фізичним кроком до :ref:`_step()<class_PhysicsServer2DExtension_private_method__step>`, щоб обробляти всі інші запити.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``flush_queries`` метод.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__free_rid:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_free_rid**\ (\ rid\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__free_rid>`
|
||
|
||
Версія :ref:`PhysicsServer2D.free_rid()<class_PhysicsServer2D_method_free_rid>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__get_process_info:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_get_process_info**\ (\ process_info\: :ref:`ProcessInfo<enum_PhysicsServer2D_ProcessInfo>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__get_process_info>`
|
||
|
||
Версія :ref:`PhysicsServer2D.get_process_info()<class_PhysicsServer2D_method_get_process_info>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__init:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_init**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__init>`
|
||
|
||
Викликається, коли початкова петля і створює новий екземпляр цього фізичного сервера. Дивись також :ref:`MainLoop._initialize()<class_MainLoop_private_method__initialize>` і :ref:`_finish()<class_PhysicsServer2DExtension_private_method__finish>`.
|
||
|
||
Безперервна версія внутрішнього `` метод ``.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__is_flushing_queries:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_is_flushing_queries**\ (\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__is_flushing_queries>`
|
||
|
||
Метод з можливістю перевизначення, який повинен повертати ``true``, коли сервер фізики обробляє запити. Дивитись також :ref:`_flush_queries()<class_PhysicsServer2DExtension_private_method__flush_queries>`.
|
||
|
||
Версія внутрішнього методу :ref:`PhysicsServer2D<class_PhysicsServer2D>` ``is_flushing_queries`` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_clear:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_joint_clear**\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_clear>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_clear()<class_PhysicsServer2D_method_joint_clear>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_joint_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_create()<class_PhysicsServer2D_method_joint_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_disable_collisions_between_bodies:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_joint_disable_collisions_between_bodies**\ (\ joint\: :ref:`RID<class_RID>`, disable\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_disable_collisions_between_bodies>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_disable_collisions_between_bodies()<class_PhysicsServer2D_method_joint_disable_collisions_between_bodies>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_joint_get_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_get_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_get_param()<class_PhysicsServer2D_method_joint_get_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_get_type:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`JointType<enum_PhysicsServer2D_JointType>` **_joint_get_type**\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_get_type>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_get_type()<class_PhysicsServer2D_method_joint_get_type>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_is_disabled_collisions_between_bodies:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_joint_is_disabled_collisions_between_bodies**\ (\ joint\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_is_disabled_collisions_between_bodies>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_is_disabled_collisions_between_bodies()<class_PhysicsServer2D_method_joint_is_disabled_collisions_between_bodies>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_make_damped_spring:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_joint_make_damped_spring**\ (\ joint\: :ref:`RID<class_RID>`, anchor_a\: :ref:`Vector2<class_Vector2>`, anchor_b\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_make_damped_spring>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_make_damped_spring()<class_PhysicsServer2D_method_joint_make_damped_spring>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_make_groove:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_joint_make_groove**\ (\ joint\: :ref:`RID<class_RID>`, a_groove1\: :ref:`Vector2<class_Vector2>`, a_groove2\: :ref:`Vector2<class_Vector2>`, b_anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_make_groove>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_make_groove()<class_PhysicsServer2D_method_joint_make_groove>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_make_pin:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_joint_make_pin**\ (\ joint\: :ref:`RID<class_RID>`, anchor\: :ref:`Vector2<class_Vector2>`, body_a\: :ref:`RID<class_RID>`, body_b\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_make_pin>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_make_pin()<class_PhysicsServer2D_method_joint_make_pin>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__joint_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_joint_set_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`JointParam<enum_PhysicsServer2D_JointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__joint_set_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.joint_set_param()<class_PhysicsServer2D_method_joint_set_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__pin_joint_get_flag:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_pin_joint_get_flag**\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_get_flag>`
|
||
|
||
Версія :ref:`PhysicsServer2D.pin_joint_get_flag()<class_PhysicsServer2D_method_pin_joint_get_flag>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__pin_joint_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_pin_joint_get_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_get_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.pin_joint_get_param()<class_PhysicsServer2D_method_pin_joint_get_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__pin_joint_set_flag:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_pin_joint_set_flag**\ (\ joint\: :ref:`RID<class_RID>`, flag\: :ref:`PinJointFlag<enum_PhysicsServer2D_PinJointFlag>`, enabled\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_set_flag>`
|
||
|
||
Версія :ref:`PhysicsServer2D.pin_joint_set_flag()<class_PhysicsServer2D_method_pin_joint_set_flag>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__pin_joint_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_pin_joint_set_param**\ (\ joint\: :ref:`RID<class_RID>`, param\: :ref:`PinJointParam<enum_PhysicsServer2D_PinJointParam>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__pin_joint_set_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.pin_joint_set_param()<class_PhysicsServer2D_method_pin_joint_set_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__rectangle_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_rectangle_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__rectangle_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.rectangle_shape_create()<class_PhysicsServer2D_method_rectangle_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__segment_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_segment_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__segment_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.segment_shape_create()<class_PhysicsServer2D_method_segment_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__separation_ray_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_separation_ray_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__separation_ray_shape_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.separation_ray_shape_create()<class_PhysicsServer2D_method_separation_ray_shape_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__set_active:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_set_active**\ (\ active\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__set_active>`
|
||
|
||
Версія :ref:`PhysicsServer2D.set_active()<class_PhysicsServer2D_method_set_active>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__shape_collide:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_shape_collide**\ (\ shape_A\: :ref:`RID<class_RID>`, xform_A\: :ref:`Transform2D<class_Transform2D>`, motion_A\: :ref:`Vector2<class_Vector2>`, shape_B\: :ref:`RID<class_RID>`, xform_B\: :ref:`Transform2D<class_Transform2D>`, motion_B\: :ref:`Vector2<class_Vector2>`, results\: ``void*``, result_max\: :ref:`int<class_int>`, result_count\: ``int32_t*``\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_collide>`
|
||
|
||
Зважаючи на дві форми та їх параметри, слід повернути ``true``, якщо виникне зіткнення між двома, з додатковими деталями, що надходять в ``results``.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``shape_collide`` метод. Кореспонденти до ``методичний посібник``.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__shape_get_custom_solver_bias:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_shape_get_custom_solver_bias**\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_get_custom_solver_bias>`
|
||
|
||
При поверненні користувальницького розчинника, який визначає, скільки органів змушені відокремити на контакті, коли ця форма бере участь.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішня `` форма_get_custom_solver_bias`` метод. Кореспонденти до :ref:`Shape2D.custom_solver_bias<class_Shape2D_property_custom_solver_bias>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__shape_get_data:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`Variant<class_Variant>` **_shape_get_data**\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_get_data>`
|
||
|
||
Версія :ref:`PhysicsServer2D.shape_get_data()<class_PhysicsServer2D_method_shape_get_data>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__shape_get_type:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`ShapeType<enum_PhysicsServer2D_ShapeType>` **_shape_get_type**\ (\ shape\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_get_type>`
|
||
|
||
Версія :ref:`PhysicsServer2D.shape_get_type()<class_PhysicsServer2D_method_shape_get_type>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__shape_set_custom_solver_bias:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_shape_set_custom_solver_bias**\ (\ shape\: :ref:`RID<class_RID>`, bias\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_set_custom_solver_bias>`
|
||
|
||
Щоб встановити користувальницький розчинник для вказаного ``shape``. Визначає, скільки органів змушені відокремити на контакті.
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``shape_get_custom_solver_bias`` метод. Кореспонденти до :ref:`Shape2D.custom_solver_bias<class_Shape2D_property_custom_solver_bias>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__shape_set_data:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_shape_set_data**\ (\ shape\: :ref:`RID<class_RID>`, data\: :ref:`Variant<class_Variant>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__shape_set_data>`
|
||
|
||
Версія :ref:`PhysicsServer2D.shape_set_data()<class_PhysicsServer2D_method_shape_set_data>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_space_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_create>`
|
||
|
||
Версія :ref:`PhysicsServer2D.space_create()<class_PhysicsServer2D_method_space_create>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_get_contact_count:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`int<class_int>` **_space_get_contact_count**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_contact_count>`
|
||
|
||
Повернемо, скільки контактів відбувалися під час останнього етапу фізики ``space``. Дивись також :ref:`_get_contacts()<class_PhysicsServer2DExtension_private_method__get_contacts>` та :ref:`_set_debug_contacts()<class_PhysicsServer2DExtension_private_method__set_debug_contacts>`.
|
||
|
||
Версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнього ``space_get_contact_count`` метод.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_get_contacts:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`PackedVector2Array<class_PackedVector2Array>` **_space_get_contacts**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_contacts>`
|
||
|
||
Повернемо позиції всіх контактів, які відбувалися під час останнього етапу фізики на даній ``space``. Також :ref:`_get_contact_count()<class_PhysicsServer2DExtension_private_method__get_contact_count>` і :ref:`_set_debug_contacts()<class_PhysicsServer2DExtension_private_method__set_debug_contacts>`.
|
||
|
||
Безперервна версія внутрішнього ``space_get_contacts``.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_get_direct_state:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`PhysicsDirectSpaceState2D<class_PhysicsDirectSpaceState2D>` **_space_get_direct_state**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_direct_state>`
|
||
|
||
Версія :ref:`PhysicsServer2D.space_get_direct_state()<class_PhysicsServer2D_method_space_get_direct_state>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **_space_get_param**\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_get_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.space_get_param()<class_PhysicsServer2D_method_space_get_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_is_active:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **_space_is_active**\ (\ space\: :ref:`RID<class_RID>`\ ) |virtual| |required| |const| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_is_active>`
|
||
|
||
Безперервна версія :ref:`PhysicsServer2D.space_is_active()<class_PhysicsServer2D_method_space_is_active>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_set_active:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_space_set_active**\ (\ space\: :ref:`RID<class_RID>`, active\: :ref:`bool<class_bool>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_set_active>`
|
||
|
||
Версія :ref:`PhysicsServer2D.space_set_active()<class_PhysicsServer2D_method_space_set_active>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_set_debug_contacts:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_space_set_debug_contacts**\ (\ space\: :ref:`RID<class_RID>`, max_contacts\: :ref:`int<class_int>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_set_debug_contacts>`
|
||
|
||
Використовуються внутрішньо, щоб дозволити даній ``space`` зберігати контактні точки, до ``max_contacts``. Це автоматично встановлюється для основного простору :ref:`World2D<class_World2D>`, коли :ref:`SceneTree.debug_collisions_hint<class_SceneTree_property_debug_collisions_hint>` ``true``, або перевіряючи "Відчувні фігури Collision" в редакторі. Тільки роботи в будівельних конструкціях.
|
||
|
||
Версія :ref:`PhysicsServer2D<class_PhysicsServer2D>` внутрішнє ``space_set_debug_contacts`` метод.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__space_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_space_set_param**\ (\ space\: :ref:`RID<class_RID>`, param\: :ref:`SpaceParameter<enum_PhysicsServer2D_SpaceParameter>`, value\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__space_set_param>`
|
||
|
||
Версія :ref:`PhysicsServer2D.space_set_param()<class_PhysicsServer2D_method_space_set_param>` з можливістю перевизначення.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__step:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_step**\ (\ step\: :ref:`float<class_float>`\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__step>`
|
||
|
||
Викликається на кожному кроці фізики для обробки фізичної симуляції. ``step`` – це час, що минув з останнього кроку фізики, у секундах. Зазвичай він такий самий, як значення, повернене методом :ref:`Node.get_physics_process_delta_time()<class_Node_method_get_physics_process_delta_time>`.
|
||
|
||
Перевизначувана версія внутрішнього методу ``step`` :ref:`PhysicsServer2D<class_PhysicsServer2D>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__sync:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **_sync**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__sync>`
|
||
|
||
Зателефоновано, щоб вказати, що сервер фізики синхронізується і не може доступу до фізико-фізичних станів, якщо працює на окремій нитки. Дивись також :ref:`_end_sync()<class_PhysicsServer2DExtension_private_method__end_sync>`.
|
||
|
||
Безперервна версія внутрішнього ``sync``.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_private_method__world_boundary_shape_create:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`RID<class_RID>` **_world_boundary_shape_create**\ (\ ) |virtual| |required| :ref:`🔗<class_PhysicsServer2DExtension_private_method__world_boundary_shape_create>`
|
||
|
||
Визначена версія :ref:`PhysicsServer2D.world_boundary_shape_create()<class_PhysicsServer2D_method_world_boundary_shape_create>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **body_test_motion_is_excluding_body**\ (\ body\: :ref:`RID<class_RID>`\ ) |const| :ref:`🔗<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_body>`
|
||
|
||
Повертаємо ``true``, якщо тіло з вказаною :ref:`RID<class_RID>` виключається з :ref:`_body_test_motion()<class_PhysicsServer2DExtension_private_method__body_test_motion>`. Дивись також :ref:`Object.get_instance_id()<class_Object_method_get_instance_id>`.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`bool<class_bool>` **body_test_motion_is_excluding_object**\ (\ object\: :ref:`int<class_int>`\ ) |const| :ref:`🔗<class_PhysicsServer2DExtension_method_body_test_motion_is_excluding_object>`
|
||
|
||
Повертає ``true``, якщо об'єкт із заданим ідентифікатором екземпляра виключається з методу :ref:`_body_test_motion()<class_PhysicsServer2DExtension_private_method__body_test_motion>`. Див. також :ref:`Object.get_instance_id()<class_Object_method_get_instance_id>`.
|
||
|
||
.. |virtual| replace:: :abbr:`virtual (Зазвичай, цей метод перевизначається користувачем, щоб він мав вплив.)`
|
||
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
|
||
.. |const| replace:: :abbr:`const (Цей метод не має побічних ефектів. Не змінює ніяку змінну екземпляра об'єкта.)`
|
||
.. |vararg| replace:: :abbr:`vararg (Цей метод приймає будь-яке число аргументів після описаних тут.)`
|
||
.. |constructor| replace:: :abbr:`constructor (Цей метод використовується для побудови типів.)`
|
||
.. |static| replace:: :abbr:`static (Цей метод не потребує екземпляра для виклику, його можна викликати безпосередньо за допомогою назви класу.)`
|
||
.. |operator| replace:: :abbr:`operator (Цей метод описує дійсний оператор для взаємодії з цим типом як з лівим операндом.)`
|
||
.. |bitfield| replace:: :abbr:`BitField (Це значення є цілим числом, складеним у вигляді бітової маски з наступних прапорів.)`
|
||
.. |void| replace:: :abbr:`void (Значення не повертається.)`
|