0 votes

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: https://pastebin.com/hRsj4eTH

Here is a print statement right after the MoveAndSlide method. Along with a print statement on the change state method in the state machine: https://pastebin.com/cQxxm1iy

in Engine by (29 points)

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

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.