GeometryGetClosestPointsBetweenSegments Method |
Given the two 3D segments (p1, p2) and (q1, q2), finds those two points on the two segments that are closest to each other. Returns a Vector3 that contains this point on (p1, p2) as well the accompanying point on (q1, q2).
Namespace: Godot
public static Vector3[] GetClosestPointsBetweenSegments( Vector3 p1, Vector3 p2, Vector3 q1, Vector3 q2 )
[Missing <param name="p1"/> documentation for "M:Godot.Geometry.GetClosestPointsBetweenSegments(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="p2"/> documentation for "M:Godot.Geometry.GetClosestPointsBetweenSegments(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="q1"/> documentation for "M:Godot.Geometry.GetClosestPointsBetweenSegments(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <param name="q2"/> documentation for "M:Godot.Geometry.GetClosestPointsBetweenSegments(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]
[Missing <returns> documentation for "M:Godot.Geometry.GetClosestPointsBetweenSegments(Godot.Vector3,Godot.Vector3,Godot.Vector3,Godot.Vector3)"]