mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
classref: Sync with latest 4.0-dev
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the PhysicsDirectBodyState3D.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
@@ -33,6 +33,8 @@ Properties
|
||||
+---------------------------------------+-----------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector3<class_Vector3>` | :ref:`center_of_mass<class_PhysicsDirectBodyState3D_property_center_of_mass>` |
|
||||
+---------------------------------------+-----------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector3<class_Vector3>` | :ref:`center_of_mass_local<class_PhysicsDirectBodyState3D_property_center_of_mass_local>` |
|
||||
+---------------------------------------+-----------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector3<class_Vector3>` | :ref:`inverse_inertia<class_PhysicsDirectBodyState3D_property_inverse_inertia>` |
|
||||
+---------------------------------------+-----------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`inverse_mass<class_PhysicsDirectBodyState3D_property_inverse_mass>` |
|
||||
@@ -124,7 +126,19 @@ The body's rotational velocity.
|
||||
| *Getter* | get_center_of_mass() |
|
||||
+----------+----------------------+
|
||||
|
||||
The body's center of mass.
|
||||
The body's center of mass position relative to the body's center in the global coordinate system.
|
||||
|
||||
----
|
||||
|
||||
.. _class_PhysicsDirectBodyState3D_property_center_of_mass_local:
|
||||
|
||||
- :ref:`Vector3<class_Vector3>` **center_of_mass_local**
|
||||
|
||||
+----------+----------------------------+
|
||||
| *Getter* | get_center_of_mass_local() |
|
||||
+----------+----------------------------+
|
||||
|
||||
The body's center of mass position in the body's local coordinate system.
|
||||
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user