Function GeometrySingleton.getClosestPointsBetweenSegments
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 PoolVector3Array
that contains this point on (p1
, p2
) as well the accompanying point on (q1
, q2
).