3D player begins to fall as soon as he touches a wall

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

I have made a 3d player. For some reason whenever I run towards a wall, IsOnFloor() becomes false and my player begins falling in mid-air. I don’t know what causes this.

Here is a print statement right before the MoveAndSlide method. Along with a print statement on the change state method in the state machine: Entering State: Moving(-0.2955299, -0.2722212, 0.2826326)Entering State: Fal - Pastebin.com

Here is a print statement right after the MoveAndSlide method. Along with a print statement on the change state method in the state machine: Entering State: Moving(0, -0.2722223, 0.1641913)Entering State: Falling(-0 - Pastebin.com

It seems that cloudflare is marking pastebin as a phising site. Do not pay attention to it, it must be false flagged.

Yiannis Charalambous | 2020-07-30 13:30