How to stick kinematicbody2d to floor when walking up and down slopes

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

When I walk up stairs the player shoots up when they reach the top and when walking down they don’t stick to the stairs so they just overshoot the stairs.

:bust_in_silhouette: Reply From: SIsilicon

Fortunately for you, there’s a function made since Godot 3.1 that was created specifically for this kind of thing. Check it out here. :slight_smile: