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