Click or drag to resize

Curve3DGetClosestPoint 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
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3 GetClosestPoint(
	Vector3 toPoint
)

Parameters

toPoint
Type: GodotVector3

[Missing <param name="toPoint"/> documentation for "M:Godot.Curve3D.GetClosestPoint(Godot.Vector3)"]

Return Value

Type: Vector3

[Missing <returns> documentation for "M:Godot.Curve3D.GetClosestPoint(Godot.Vector3)"]

See Also