summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-28 18:15:56 +0200
committerGitHub <noreply@github.com>2021-09-28 18:15:56 +0200
commit0a3aa85a7bb9bbc887a34d8b17671cc5cb394ca8 (patch)
treee13a8cfb8ef1a758c36496cb0360f18cc79a2f8a /scene/2d
parent06b9ea19216fd25ef2fe64bcb05b8e07f714180e (diff)
parent32bf7c419c12771e2c2169800718083f3b16d4ea (diff)
Merge pull request #53177 from fabriceci/sync-to-physics-true-animatable-body
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/physics_body_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/physics_body_2d.h b/scene/2d/physics_body_2d.h
index 3836fc4b62..ac1a1357f1 100644
--- a/scene/2d/physics_body_2d.h
+++ b/scene/2d/physics_body_2d.h
@@ -92,7 +92,7 @@ class AnimatableBody2D : public StaticBody2D {
GDCLASS(AnimatableBody2D, StaticBody2D);
private:
- bool sync_to_physics = false;
+ bool sync_to_physics = true;
Transform2D last_valid_transform;