diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-16 12:26:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 12:26:58 +0200 |
commit | d0a10215ae9679cc12f83dda7b291c835bb44796 (patch) | |
tree | 49337bc10ce0edf53f8ef728881779c1b75539c9 /doc | |
parent | 4f2c1feab5aa231c2b027ec7e798f2fc69dcc380 (diff) | |
parent | 219c5712f0d69297db659253bc814652dd180465 (diff) |
Merge pull request #37824 from nekomatata/rigid-body-force-doc
More details in Rigid Body add_force documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/RigidBody3D.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/RigidBody3D.xml b/doc/classes/RigidBody3D.xml index cfb9ca513e..1db818d6af 100644 --- a/doc/classes/RigidBody3D.xml +++ b/doc/classes/RigidBody3D.xml @@ -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"> |