Function KinematicBody2D.isOnFloor
Returns true if the body is on the floor. Only updates when calling moveAndSlide.
bool isOnFloor() nothrow @nogc const;
Returns true if the body is on the floor. Only updates when calling moveAndSlide.
bool isOnFloor() nothrow @nogc const;