forked from team-sg/hero-mark-2
give SG those GRIPPY SHOES OH MY GOODNESS, they can now stop freaking out on the edge of platforms... IN STYEL
This commit is contained in:
parent
d74c82cd56
commit
1fa0fa44ed
2 changed files with 13 additions and 4 deletions
|
@ -151,10 +151,8 @@ func _process_fall():
|
|||
#Cant move in air
|
||||
if !can_move_in_air: velocity.x = 0
|
||||
|
||||
#Corner collision
|
||||
func _process_idle_fall():
|
||||
if is_on_wall():
|
||||
position.x += get_last_slide_collision().normal.x * 0.1
|
||||
pass
|
||||
|
||||
func _process_jump_fall():
|
||||
check_double_jump()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue