summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCamille Mohr-Daurat <pouleyKetchoup@gmail.com>2021-09-28 17:11:17 -0700
committerGitHub <noreply@github.com>2021-09-28 17:11:17 -0700
commit341b532d5e7ac10fa1e8006e0a994f55cb027bb8 (patch)
treeadd588d90d472e99eff712f4f20cc3dc2e3c316f /tests
parentf72419d1525f2e5fe08f81a8fe06af3831c71c3e (diff)
parented1ba5093f6a9d10adb5da74580bcb4469159214 (diff)
Merge pull request #52754 from nekomatata/dynamic-body-modes
Clarify RigidDynamicBody modes
Diffstat (limited to 'tests')
-rw-r--r--tests/test_physics_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_physics_3d.cpp b/tests/test_physics_3d.cpp
index 3d1dad6545..d839ae26b7 100644
--- a/tests/test_physics_3d.cpp
+++ b/tests/test_physics_3d.cpp
@@ -361,7 +361,7 @@ public:
RID mesh_instance = vs->instance_create2(capsule_mesh, scenario);
character = ps->body_create();
- ps->body_set_mode(character, PhysicsServer3D::BODY_MODE_DYNAMIC_LOCKED);
+ ps->body_set_mode(character, PhysicsServer3D::BODY_MODE_DYNAMIC_LINEAR);
ps->body_set_space(character, space);
//todo add space
ps->body_add_shape(character, capsule_shape);