I have such a map, I want the player’s gravity to change when the button is pressed, but because of the is_on_floor() function, the player is considered not on the floor but in the air, because of this I cannot jump.
How can I change the floor for a player?
I tried rotating the player node 180, but it doesn't help >:(
