2017-08-16から1日間の記事一覧
public static float Angle(Vector3 from, Vector3 to) { return Mathf.Acos(Mathf.Clamp(Vector3.Dot(from.normalized, to.normalized), -1f, 1f)) * 57.29578f; } float judgeAngle = Vector3.Angle(Vector3.zero, Vector3.zero); Debug.Log(judgeAngle); …