diff options
author | fabriceci <fabricecipolla@gmail.com> | 2021-09-28 16:11:17 +0200 |
---|---|---|
committer | fabriceci <fabricecipolla@gmail.com> | 2021-09-28 16:11:17 +0200 |
commit | 32bf7c419c12771e2c2169800718083f3b16d4ea (patch) | |
tree | 94346372875e6b74d33e63891d553f8264687a48 /doc/classes/AnimatableBody2D.xml | |
parent | 5aa099aaed359df6ff79fe31616b5601db2a42c5 (diff) | |
download | redot-engine-32bf7c419c12771e2c2169800718083f3b16d4ea.tar.gz |
Sync to physics true by default for AnimatableBody
Diffstat (limited to 'doc/classes/AnimatableBody2D.xml')
-rw-r--r-- | doc/classes/AnimatableBody2D.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AnimatableBody2D.xml b/doc/classes/AnimatableBody2D.xml index e58f4bd692..bc169cf9c9 100644 --- a/doc/classes/AnimatableBody2D.xml +++ b/doc/classes/AnimatableBody2D.xml @@ -11,7 +11,7 @@ <tutorials> </tutorials> <members> - <member name="sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled" default="false"> + <member name="sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled" default="true"> If [code]true[/code], the body's movement will be synchronized to the physics frame. This is useful when animating movement via [AnimationPlayer], for example on moving platforms. Do [b]not[/b] use together with [method PhysicsBody2D.move_and_collide]. </member> </members> |