KinematicBody2DGetFloorNormal Method |
Returns the surface normal 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 GetFloorNormal()
[Missing <returns> documentation for "M:Godot.KinematicBody2D.GetFloorNormal"]