forked from team-sg/hero-mark-2
falling block has a delay before falling
This commit is contained in:
parent
124b5e16aa
commit
c3f32de2df
7 changed files with 216 additions and 40 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue