summaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorm4nu3lf <m4nu3lf@gmail.com>2016-12-31 14:39:25 +0000
committerm4nu3lf <m4nu3lf@gmail.com>2017-01-09 00:13:54 +0000
commit2e38b32e0f261445c2d0b095c1822fbe6df16e25 (patch)
tree7add49833c34260d581424469818573abd44104a /doc/base/classes.xml
parentf2e99826c0b1e8227644bfab0795d858c504d279 (diff)
Fixed inertia tensor computation and center of mass
Diffstat (limited to 'doc/base/classes.xml')
-rw-r--r--doc/base/classes.xml36
1 files changed, 35 insertions, 1 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index b49c23f117..869f7781c5 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -28723,12 +28723,24 @@
<description>
</description>
</method>
+ <method name="apply_torque_impulse">
+ <argument index="0" name="j" type="Vector3">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="get_angular_velocity" qualifiers="const">
<return type="Vector3">
</return>
<description>
</description>
</method>
+ <method name="get_center_of_mass" qualifiers="const">
+ <return type="Vector3"/>
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_contact_collider" qualifiers="const">
<return type="RID">
</return>
@@ -28807,7 +28819,7 @@
<description>
</description>
</method>
- <method name="get_inverse_inertia" qualifiers="const">
+ <method name="get_inverse_inertia_tensor" qualifiers="const">
<return type="Vector3">
</return>
<description>
@@ -28825,6 +28837,12 @@
<description>
</description>
</method>
+ <method name="get_principal_inertia_axes">
+ <return type="Matrix3">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="get_space_state">
<return type="PhysicsDirectSpaceState">
</return>
@@ -45318,6 +45336,15 @@ do_property].
Return a copy of the normalized vector to unit length. This is the same as v / v.length().
</description>
</method>
+ <method name="outer">
+ <return type="Matrix3">
+ </return>
+ <argument index="0" name="b" type="Vector3">
+ </argument>
+ <description>
+ Return the outer product with b.
+ </description>
+ </method>
<method name="reflect">
<return type="Vector3">
</return>
@@ -45356,6 +45383,13 @@ do_property].
Return a copy of the vector, snapped to the lowest neared multiple.
</description>
</method>
+ <method name="to_diagonal_matrix">
+ <return type="Matrix3">
+ </return>
+ <description>
+ Return a diagonal matrix with the vector as main diagonal.
+ </description>
+ </method>
</methods>
<members>
<member name="x" type="float">