diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-21 16:49:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 16:49:24 +0200 |
commit | 01fb1f189fe71f2768db7231b2523197228a8b54 (patch) | |
tree | 653e4219adc14c7841d3146b39ec8080e0bea8f7 /doc/classes | |
parent | 103b46733ac4f53259575a528a1f6a3be034f227 (diff) | |
parent | a91103ac89ba2fb9ec5fb82ab24bc3a171dcb640 (diff) |
Merge pull request #40512 from yrk06/ExposeInertiaTensorMaster
Add Method get_inverse_inertia_tensor
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/RigidBody3D.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/RigidBody3D.xml b/doc/classes/RigidBody3D.xml index efd55f5566..370e6bd19c 100644 --- a/doc/classes/RigidBody3D.xml +++ b/doc/classes/RigidBody3D.xml @@ -100,6 +100,13 @@ [b]Note:[/b] The result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead. </description> </method> + <method name="get_inverse_inertia_tensor"> + <return type="Basis"> + </return> + <description> + Returns the inverse inertia tensor basis. This is used to calculate the angular acceleration resulting from a torque applied to the [RigidBody3D]. + </description> + </method> <method name="set_axis_lock"> <return type="void"> </return> |