summaryrefslogtreecommitdiff
path: root/doc/classes/PhysicsDirectBodyState2D.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-11-09 10:51:32 +0100
committerGitHub <noreply@github.com>2022-11-09 10:51:32 +0100
commite25d9281d4f6f0b5b4d972b25cddaa1009ad1d26 (patch)
treeb809e26b2dd47ff9df7ac483a6464b17e0c645f7 /doc/classes/PhysicsDirectBodyState2D.xml
parent29de658c2908b6b50b218225539f9779292eb870 (diff)
parenta3e52925bf6238ab245e30190d9f30b87119294b (diff)
Merge pull request #68442 from aaronfranke/virtually-kinda-documented
Fixes https://github.com/godotengine/godot/issues/68437
Diffstat (limited to 'doc/classes/PhysicsDirectBodyState2D.xml')
-rw-r--r--doc/classes/PhysicsDirectBodyState2D.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/classes/PhysicsDirectBodyState2D.xml b/doc/classes/PhysicsDirectBodyState2D.xml
index e8062f3e94..eca6a1cbc7 100644
--- a/doc/classes/PhysicsDirectBodyState2D.xml
+++ b/doc/classes/PhysicsDirectBodyState2D.xml
@@ -209,40 +209,40 @@
</method>
</methods>
<members>
- <member name="angular_velocity" type="float" setter="set_angular_velocity" getter="get_angular_velocity" default="0.0">
+ <member name="angular_velocity" type="float" setter="set_angular_velocity" getter="get_angular_velocity">
The body's rotational velocity in [i]radians[/i] per second.
</member>
- <member name="center_of_mass" type="Vector2" setter="" getter="get_center_of_mass" default="Vector2(0, 0)">
+ <member name="center_of_mass" type="Vector2" setter="" getter="get_center_of_mass">
The body's center of mass position relative to the body's center in the global coordinate system.
</member>
- <member name="center_of_mass_local" type="Vector2" setter="" getter="get_center_of_mass_local" default="Vector2(0, 0)">
+ <member name="center_of_mass_local" type="Vector2" setter="" getter="get_center_of_mass_local">
The body's center of mass position in the body's local coordinate system.
</member>
- <member name="inverse_inertia" type="float" setter="" getter="get_inverse_inertia" default="0.0">
+ <member name="inverse_inertia" type="float" setter="" getter="get_inverse_inertia">
The inverse of the inertia of the body.
</member>
- <member name="inverse_mass" type="float" setter="" getter="get_inverse_mass" default="0.0">
+ <member name="inverse_mass" type="float" setter="" getter="get_inverse_mass">
The inverse of the mass of the body.
</member>
- <member name="linear_velocity" type="Vector2" setter="set_linear_velocity" getter="get_linear_velocity" default="Vector2(0, 0)">
+ <member name="linear_velocity" type="Vector2" setter="set_linear_velocity" getter="get_linear_velocity">
The body's linear velocity in pixels per second.
</member>
- <member name="sleeping" type="bool" setter="set_sleep_state" getter="is_sleeping" default="false">
+ <member name="sleeping" type="bool" setter="set_sleep_state" getter="is_sleeping">
If [code]true[/code], this body is currently sleeping (not active).
</member>
- <member name="step" type="float" setter="" getter="get_step" default="0.0">
+ <member name="step" type="float" setter="" getter="get_step">
The timestep (delta) used for the simulation.
</member>
- <member name="total_angular_damp" type="float" setter="" getter="get_total_angular_damp" default="0.0">
+ <member name="total_angular_damp" type="float" setter="" getter="get_total_angular_damp">
The rate at which the body stops rotating, if there are not any other forces moving it.
</member>
- <member name="total_gravity" type="Vector2" setter="" getter="get_total_gravity" default="Vector2(0, 0)">
+ <member name="total_gravity" type="Vector2" setter="" getter="get_total_gravity">
The total gravity vector being currently applied to this body.
</member>
- <member name="total_linear_damp" type="float" setter="" getter="get_total_linear_damp" default="0.0">
+ <member name="total_linear_damp" type="float" setter="" getter="get_total_linear_damp">
The rate at which the body stops moving, if there are not any other forces moving it.
</member>
- <member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D(1, 0, 0, 1, 0, 0)">
+ <member name="transform" type="Transform2D" setter="set_transform" getter="get_transform">
The body's transformation matrix.
</member>
</members>