is_on_floor is flickering between true and false

:bust_in_silhouette: Reply From: Calinou

This is a known issue. The best way to work around this is to store the result of is_on_floor() over 3 frames in an Array, then write a function that returns true if any of the values in the Array are true.

See Shifty’s Godot Character Movement Manifesto for more information.