Does Bepu v1 supports find closest point on boundsbox or shape?
Posted: Wed Apr 01, 2020 6:49 am
Similar to Unity's Collider.ClosestPointOnBounds, Collider.ClosestPoint.
https://docs.unity3d.com/ScriptReferenc ... Point.html
https://docs.unity3d.com/ScriptReferenc ... ounds.html
public Vector3 ClosestPoint(Vector3 position);
Returns a point on the collider that is closest to a given location.
public Vector3 ClosestPointOnBounds(Vector3 position)
The closest point to the bounding box of the attached collider.
https://docs.unity3d.com/ScriptReferenc ... Point.html
https://docs.unity3d.com/ScriptReferenc ... ounds.html
public Vector3 ClosestPoint(Vector3 position);
Returns a point on the collider that is closest to a given location.
public Vector3 ClosestPointOnBounds(Vector3 position)
The closest point to the bounding box of the attached collider.