started work on door and other various
This commit is contained in:
parent
de8bd57c62
commit
419ee45597
6 changed files with 45 additions and 4 deletions
|
|
@ -99,6 +99,7 @@ func _physics_process(delta):
|
|||
dash_time -= delta
|
||||
var dash_direction = camera.global_position.direction_to(dash_node.global_position)
|
||||
dash_direction.y = 0
|
||||
dash_direction = dash_direction.normalized()
|
||||
velocity = dash_direction * SPEED*350 * delta
|
||||
elif dashing:
|
||||
dashing = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue