|
@@ -96,10 +96,17 @@
|
|
|
<return type="Array">
|
|
|
</return>
|
|
|
<description>
|
|
|
- Returns a list of the bodies colliding with this one. Requires [member contact_monitor] to be set to [code]true[/code] and [member contacts_reported] to be set high enough to detect all the collisions.
|
|
|
+ Returns a list of the bodies colliding with this one. Requires [member contact_monitor] to be set to [code]true[/code] and [member contacts_reported] to be set high enough to detect all the collisions.
|
|
|
[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 RigidBody.
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
<method name="set_axis_lock">
|
|
|
<return type="void">
|
|
|
</return>
|
|
@@ -120,13 +127,6 @@
|
|
|
Sets an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior.
|
|
|
</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 RigidBody.
|
|
|
- </description>
|
|
|
- </method>
|
|
|
</methods>
|
|
|
<members>
|
|
|
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" default="-1.0">
|