fixed physics

This commit is contained in:
2023-02-25 22:22:08 +01:00
parent b93207ba23
commit ee9d33f6ec
2 changed files with 3 additions and 4 deletions

View File

@@ -111,14 +111,11 @@ animation = &"move_down"
metadata/_edit_lock_ = true
[node name="main_cam" type="Camera2D" parent="."]
process_callback = 0
position_smoothing_enabled = true
position_smoothing_speed = 3.0
drag_horizontal_enabled = true
drag_vertical_enabled = true
drag_left_margin = 0.15
drag_top_margin = 0.15
drag_right_margin = 0.15
drag_bottom_margin = 0.15
editor_draw_drag_margin = true
metadata/_edit_lock_ = true

View File

@@ -6,6 +6,8 @@
radius = 33.1361
[node name="rigid_body_2d" type="RigidBody2D"]
collision_layer = 2
collision_mask = 3
gravity_scale = 0.0
[node name="Sprite2D" type="Sprite2D" parent="."]