Curve2DGetClosestPoint Method |
Returns the closest baked point (in curve's local space) to to_point.
to_point must be in this curve's local space.
Namespace: Godot
public Vector2 GetClosestPoint( Vector2 toPoint )
[Missing <param name="toPoint"/> documentation for "M:Godot.Curve2D.GetClosestPoint(Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Curve2D.GetClosestPoint(Godot.Vector2)"]