When walking on slope suddenly appear on the other corner of the slope

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

I’m Having a problem walking my character on a slope. When It touches the slope my character suddenly appears on the other side of the slope as if it teleported and can’t go down the slope… It’s strange I didn’t change my code (I am using move_and_slide_with_snap). This problem suddenly appeared. No errors showed.

:bust_in_silhouette: Reply From: Masonzk

Have you tried using move_and_slide(), rather than move_and_slide_with_snap()? Using snap will cause the player to stick to the surface, so it might be keeping you from moving up a slope.