diff options
author | Camille Mohr-Daurat <pouleyKetchoup@gmail.com> | 2021-09-28 17:11:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 17:11:17 -0700 |
commit | 341b532d5e7ac10fa1e8006e0a994f55cb027bb8 (patch) | |
tree | add588d90d472e99eff712f4f20cc3dc2e3c316f /doc/classes/PhysicsServer2D.xml | |
parent | f72419d1525f2e5fe08f81a8fe06af3831c71c3e (diff) | |
parent | ed1ba5093f6a9d10adb5da74580bcb4469159214 (diff) |
Merge pull request #52754 from nekomatata/dynamic-body-modes
Clarify RigidDynamicBody modes
Diffstat (limited to 'doc/classes/PhysicsServer2D.xml')
-rw-r--r-- | doc/classes/PhysicsServer2D.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml index b604503163..791a04e4c2 100644 --- a/doc/classes/PhysicsServer2D.xml +++ b/doc/classes/PhysicsServer2D.xml @@ -926,8 +926,8 @@ <constant name="BODY_MODE_DYNAMIC" value="2" enum="BodyMode"> Constant for dynamic bodies. In this mode, a body can be pushed by other bodies and has forces applied. </constant> - <constant name="BODY_MODE_DYNAMIC_LOCKED" value="3" enum="BodyMode"> - Constant for locked dynamic bodies. In this mode, a body is dynamic but can not rotate, and only its linear velocity is affected by external forces. + <constant name="BODY_MODE_DYNAMIC_LINEAR" value="3" enum="BodyMode"> + Constant for linear dynamic bodies. In this mode, a body is dynamic but can not rotate, and only its linear velocity is affected by external forces. </constant> <constant name="BODY_PARAM_BOUNCE" value="0" enum="BodyParameter"> Constant to set/get a body's bounce factor. |