1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

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

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">