I am using move_and_slide, polygon collision 2d, and kinematic for the dog, why is this happening?

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

enter image description here

The back and forth in that slope is a lot faster than shown in the gif.
The on_floor goes true, false, true, false… and there is no Point in the collision polygon there.

i dont have the answer, but the dog sprite is amazing XD

Andrea | 2021-01-20 15:36

Thanks!, Yes you can’t really see the animation in the gif either, but you seem to have noticed! :'D

hample | 2021-01-20 16:46

:bust_in_silhouette: Reply From: hample

I fixed it myself by using move_and_slide_with_snap()!

how did you do it?

pc9098 | 2022-08-24 00:58