forked from team-sg/hero-mark-2
adjusted amount to be pushed away from corner collision
This commit is contained in:
parent
437d48c15a
commit
79ff122f29
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ func _process_fall():
|
||||||
#Corner collision
|
#Corner collision
|
||||||
func _process_idle_fall():
|
func _process_idle_fall():
|
||||||
if is_on_wall():
|
if is_on_wall():
|
||||||
position.x += get_last_slide_collision().normal.x
|
position.x += get_last_slide_collision().normal.x * 0.1
|
||||||
|
|
||||||
func _process_jump_fall():
|
func _process_jump_fall():
|
||||||
check_double_jump()
|
check_double_jump()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue