diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-10 22:27:32 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 22:27:32 -0300 |
commit | 710692278d1353aad08bc7bceb655afc1d6c950c (patch) | |
tree | baa41e8373b6a686baa7de4d14d1630b4ab1d3e0 /doc | |
parent | 6671670e8162bc2dba1382a7b50f1c089ca3df17 (diff) | |
parent | 2e38b32e0f261445c2d0b095c1822fbe6df16e25 (diff) |
Merge pull request #7426 from m4nu3lf/bugfix/physics
Fixed inertia tensor computation and center of mass
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index ef253e1f16..04bf8f677e 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -28730,12 +28730,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> @@ -28814,7 +28826,7 @@ <description> </description> </method> - <method name="get_inverse_inertia" qualifiers="const"> + <method name="get_inverse_inertia_tensor" qualifiers="const"> <return type="Vector3"> </return> <description> @@ -28832,6 +28844,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> @@ -45320,6 +45338,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> @@ -45358,6 +45385,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"> |