More details in Rigid Body add_force documentation
(cherry picked from commit 219c5712f0
)
This commit is contained in:
parent
edd5d9c78e
commit
eab7342321
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue