More details in Rigid Body add_force documentation
This commit is contained in:
parent
67f7ba2645
commit
219c5712f0
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue