public Vector3 ClosestPointOnBounds(Vector3 position) { Vector3 result; Rigidbody.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out result); return(result); }
/// <summary> /// <para>The closest point to the bounding box of the attached colliders.</para> /// </summary> /// <param name="position"></param> public Vector3 ClosestPointOnBounds(Vector3 position) { Vector3 vector3; Rigidbody.INTERNAL_CALL_ClosestPointOnBounds(this, ref position, out vector3); return(vector3); }
public Vector3 ClosestPointOnBounds(Vector3 position) { return(Rigidbody.INTERNAL_CALL_ClosestPointOnBounds(this, ref position)); }