KinematicBody2D.getFloorVelocity

Returns the linear velocity of the floor at the last collision point. Only valid after calling moveAndSlide or moveAndSlideWithSnap and when isOnFloor returns true.

struct KinematicBody2D
@nogc nothrow const
Vector2
getFloorVelocity
()

Meta