From e7da23b5dd5d763c0bbf4924dd157ce3440adb81 Mon Sep 17 00:00:00 2001 From: Micky Date: Wed, 10 Jan 2024 09:52:40 +0100 Subject: [PATCH] Add documentation to PhysicsDirectBodyState2DExtension (cherry picked from commit 9bbb2bc0f1b88e3bac3a8b340c3291555d5e5188) --- .../PhysicsDirectBodyState2DExtension.xml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/doc/classes/PhysicsDirectBodyState2DExtension.xml b/doc/classes/PhysicsDirectBodyState2DExtension.xml index eee723ca0f1..9e67dd727ad 100644 --- a/doc/classes/PhysicsDirectBodyState2DExtension.xml +++ b/doc/classes/PhysicsDirectBodyState2DExtension.xml @@ -14,6 +14,7 @@ + Overridable version of [method PhysicsDirectBodyState2D.add_constant_central_force]. @@ -21,24 +22,28 @@ + Overridable version of [method PhysicsDirectBodyState2D.add_constant_force]. + Overridable version of [method PhysicsDirectBodyState2D.add_constant_torque]. + Overridable version of [method PhysicsDirectBodyState2D.apply_central_force]. + Overridable version of [method PhysicsDirectBodyState2D.apply_central_impulse]. @@ -46,6 +51,7 @@ + Overridable version of [method PhysicsDirectBodyState2D.apply_force]. @@ -53,211 +59,249 @@ + Overridable version of [method PhysicsDirectBodyState2D.apply_impulse]. + Overridable version of [method PhysicsDirectBodyState2D.apply_torque]. + Overridable version of [method PhysicsDirectBodyState2D.apply_torque_impulse]. + Implement to override the behavior of [member PhysicsDirectBodyState2D.angular_velocity] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.center_of_mass] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.center_of_mass_local] and its respective getter. + Overridable version of [method PhysicsDirectBodyState2D.get_constant_force]. + Overridable version of [method PhysicsDirectBodyState2D.get_constant_torque]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_collider]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_collider_id]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_collider_object]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_collider_position]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_collider_shape]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_collider_velocity_at_position]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_count]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_impulse]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_local_normal]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_local_position]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_local_shape]. + Overridable version of [method PhysicsDirectBodyState2D.get_contact_local_velocity_at_position]. + Implement to override the behavior of [member PhysicsDirectBodyState2D.inverse_inertia] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.inverse_mass] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.linear_velocity] and its respective getter. + Overridable version of [method PhysicsDirectBodyState2D.get_space_state]. + Implement to override the behavior of [member PhysicsDirectBodyState2D.step] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.total_angular_damp] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.total_gravity] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.total_linear_damp] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.transform] and its respective getter. + Overridable version of [method PhysicsDirectBodyState2D.get_velocity_at_local_position]. + Overridable version of [method PhysicsDirectBodyState2D.integrate_forces]. + Implement to override the behavior of [member PhysicsDirectBodyState2D.sleeping] and its respective getter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.angular_velocity] and its respective setter. + Overridable version of [method PhysicsDirectBodyState2D.set_constant_force]. + Overridable version of [method PhysicsDirectBodyState2D.set_constant_torque]. + Implement to override the behavior of [member PhysicsDirectBodyState2D.linear_velocity] and its respective setter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.sleeping] and its respective setter. + Implement to override the behavior of [member PhysicsDirectBodyState2D.transform] and its respective setter.