falling block has a delay before falling

This commit is contained in:
pennyrigate 2023-01-15 00:22:04 -05:00
parent 124b5e16aa
commit c3f32de2df
7 changed files with 216 additions and 40 deletions

View file

@ -25,7 +25,6 @@ func _physics_process(delta):
else: move_up_and_down(delta)
#Speed up if in raycast
if raycast.get_collider() != null:
Debug.print(raycast.get_collider())
if raycast.get_collider().is_in_group("player"):
go_fast = true
timer.set_wait_time(0.5)