From 7a8c54f63230b61429f293f9a86200d0c1541f59 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Wed, 14 Sep 2022 23:44:50 -0400 Subject: turn sleeping off for the player movement rigid bodies to fix a responsiveness bug --- Main.tscn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Main.tscn') diff --git a/Main.tscn b/Main.tscn index 919a0bc..64f4b44 100644 --- a/Main.tscn +++ b/Main.tscn @@ -64,6 +64,7 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) [node name="World" type="RigidBody" parent="."] collision_layer = 0 collision_mask = 0 +can_sleep = false axis_lock_linear_y = true axis_lock_angular_x = true axis_lock_angular_y = true @@ -82,6 +83,7 @@ shape = SubResource( 23 ) [node name="ShipRigidBody" type="RigidBody" parent="."] collision_layer = 2 collision_mask = 8 +can_sleep = false axis_lock_linear_x = true axis_lock_linear_z = true linear_damp = 2.0 -- cgit v1.2.3