move_and_slide 's method get_slide_count() does not get called if you collided in the same position as the previous ?

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

I’m detecting collisions with “get_slide_count()” method , when my character is in a certain position (let’s say (30,50) ) if I jump and collided again in the same position , the method wont get called , is there an other way to detect the collisions or am I doing it wrong ?

:bust_in_silhouette: Reply From: zbyszko

Try RayCast