Sync to physics true by default for AnimatableBody

This commit is contained in:
fabriceci
2021-09-28 16:11:17 +02:00
parent 5aa099aaed
commit 32bf7c419c
4 changed files with 4 additions and 4 deletions

View File

@@ -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>