More details in Rigid Body add_force documentation

(cherry picked from commit 219c5712f0)
This commit is contained in:
PouleyKetchoupp 2020-04-12 11:27:29 +02:00 committed by Rémi Verschelde
parent edd5d9c78e
commit eab7342321
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<argument index="0" name="force" type="Vector3"> <argument index="0" name="force" type="Vector3">
</argument> </argument>
<description> <description>
Adds a constant directional force without affecting rotation. Adds a constant directional force (i.e. acceleration) without affecting rotation.
This is equivalent to [code]add_force(force, Vector3(0,0,0))[/code]. This is equivalent to [code]add_force(force, Vector3(0,0,0))[/code].
</description> </description>
</method> </method>
@ -40,7 +40,8 @@
<argument index="1" name="position" type="Vector3"> <argument index="1" name="position" type="Vector3">
</argument> </argument>
<description> <description>
Adds a constant force (i.e. acceleration). Adds a constant directional force (i.e. acceleration).
The position uses the rotation of the global coordinate system, but is centered at the object's origin.
</description> </description>
</method> </method>
<method name="add_torque"> <method name="add_torque">