How to fix collisions in the air in KinematicBody2D?

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

Here is the video https://www.youtube.com/watch?v=qgsQWqXkYwU
I want the character quickly slide along the collision shape of opponent when he goes down. How can I achieve it? How can I fix this rapid teleportation?