The Godot Community Forums are back up and running! Please read the the announcement post for important information on what happened. Thanks!

Is_on_floor not declared?

Tell me if I am wrong (I'm new) but I was led to believe is_on_floor is a built in function. However, every time I try to use is_on_floor, the console claims that it isn't declared. I use Godot 3.2. Any idea what else I should use to check if a character is on the ground or how to fix this? I have a kinematicbody2D as the player that I have to check for the floor on.

Thanks.

Best Answer

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file