#is_on_floor not registering
13 messages · Page 1 of 1 (latest)
did you change the up direction?
No, i don't now how to do that
The code you see is all the code there is, I haven't tampered with the project settings at all
How do you know it's not working?
It falls through. I also linked it to a print statement. The character falls onto a perfectly vertical side of an Area2D (with collision that fits the shape, trust me i double checked) and just keeps falling. Didnt trigger print statement linked to is_on_floor
don't use area2d for collision
they only detect bodies, not stop them
use staticbody or rigidbody
Thanks, imma try that
That's it, used staticbody and it wprked like a charm. Sorry for sucking😅 And thanks for the help
Haha don't worry
Think of Areas like the sensors for automatic doors. They detect, but don't actually stop anything.
The doors themselves would be Rigid Bodies. And the walls and floors Static Bodies (because they don't move).