Get the point on an disc (in 3D space) which is closest to the current mouse position.
public static Vector3 ClosestPointToDisc(Vector3 center, Vector3 normal, float radius) { Vector3 from = Vector3.Cross(normal, Vector3.up); if (from.sqrMagnitude < 0.001f) { from = Vector3.Cross(normal, Vector3.right); } return ClosestPointToArc(center, normal, from, 360f, radius); }