simplified ledge grab
This commit is contained in:
@@ -23,18 +23,13 @@ func Physics_Update(delta):
|
||||
if Input.is_action_just_pressed("crouch"):
|
||||
Transitioned.emit(self,"ground pound")
|
||||
|
||||
if Input.is_action_just_pressed("interact"):
|
||||
character.ledge_collision.disabled = false
|
||||
Transitioned.emit(self,"ledge grab")
|
||||
|
||||
enable_wall_rays()
|
||||
|
||||
if can_wall_run():
|
||||
start_wall_running()
|
||||
|
||||
ledge_grab()
|
||||
standard_jump()
|
||||
|
||||
|
||||
|
||||
func Exit():
|
||||
character.ledge_collision.disabled = true
|
||||
|
||||
Reference in New Issue
Block a user