Merge pull request #37824 from nekomatata/rigid-body-force-doc

More details in Rigid Body add_force documentation
This commit is contained in:
Rémi Verschelde 2020-04-16 12:26:58 +02:00 committed by GitHub
commit d0a10215ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@
<argument index="0" name="force" type="Vector3">
</argument>
<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].
</description>
</method>
@ -40,7 +40,8 @@
<argument index="1" name="position" type="Vector3">
</argument>
<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>
</method>
<method name="add_torque">