|
@@ -76,6 +76,7 @@
|
|
<param index="0" name="torque" type="Vector3" />
|
|
<param index="0" name="torque" type="Vector3" />
|
|
<description>
|
|
<description>
|
|
Applies a rotational force without affecting position. A force is time dependent and meant to be applied every physics update.
|
|
Applies a rotational force without affecting position. A force is time dependent and meant to be applied every physics update.
|
|
|
|
+ [b]Note:[/b] [member inverse_inertia] is required for this to work. To have [member inverse_inertia], an active [CollisionShape3D] must be a child of the node, or you can manually set [member inverse_inertia].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="apply_torque_impulse">
|
|
<method name="apply_torque_impulse">
|
|
@@ -84,6 +85,7 @@
|
|
<description>
|
|
<description>
|
|
Applies a rotational impulse to the body without affecting the position.
|
|
Applies a rotational impulse to the body without affecting the position.
|
|
An impulse is time-independent! Applying an impulse every frame would result in a framerate-dependent force. For this reason, it should only be used when simulating one-time impacts (use the "_force" functions otherwise).
|
|
An impulse is time-independent! Applying an impulse every frame would result in a framerate-dependent force. For this reason, it should only be used when simulating one-time impacts (use the "_force" functions otherwise).
|
|
|
|
+ [b]Note:[/b] [member inverse_inertia] is required for this to work. To have [member inverse_inertia], an active [CollisionShape3D] must be a child of the node, or you can manually set [member inverse_inertia].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="get_constant_force" qualifiers="const">
|
|
<method name="get_constant_force" qualifiers="const">
|