KinematicBody2DGetFloorVelocity Method |
Returns the linear velocity of the floor at the last collision point. Only valid after calling MoveAndSlide(Vector2, NullableVector2, Boolean, Int32, Single, Boolean) or MoveAndSlideWithSnap(Vector2, Vector2, NullableVector2, Boolean, Int32, Single, Boolean) and when IsOnFloor returns true.
Namespace: Godot
public Vector2 GetFloorVelocity()
[Missing <returns> documentation for "M:Godot.KinematicBody2D.GetFloorVelocity"]