GetClosestPoint

GetClosestPoint(Vector2, float)

public Vector2 GetClosestPoint(Vector2 pos, float thresholdT) ;

Description

Get a closest point on the Bezier curve.

Parameters

Parameter Name Description
pos position
thresholdT threshold of closest param.

Returns

Closest point