question about how to move snap to up and down along with the slope

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dengtao49

recently i am working on a terraria like project. one part is to implement the moving just like terraria. lets say we have a 16x16 size tile locates at (0, 0) and (16, -16) i want to make character moving through the steep slope fluently but when i use the move_and_slide_snap it only works for slope generated from shapes if i set this two tiles the character will stop before collide with the first tile. is there a way to implement it just like what terraria does?