added simulated drop to arrows
This commit is contained in:
@@ -9,6 +9,7 @@ var dodge_timer = DODGE_TIME
|
||||
|
||||
func Enter():
|
||||
character.anim_player.play("dodge")
|
||||
character.visible = false
|
||||
|
||||
func Physics_Update(delta):
|
||||
if dodge_timer > 0:
|
||||
@@ -19,3 +20,6 @@ func Physics_Update(delta):
|
||||
|
||||
character.velocity.x = character.dodge_direction.x * DODGE_SPEED
|
||||
character.velocity.z = character.dodge_direction.y * DODGE_SPEED
|
||||
|
||||
func Exit():
|
||||
character.visible = true
|
||||
|
||||
Reference in New Issue
Block a user