Vector3から角度を取りたい。
Unity - スクリプトリファレンス: Vector3.Angle
角度は常に 2 つのベクトル間の 鋭角 を返します。(すなわち、必ず角度は 180 度未満)
のコメントが気になった。 180度ってありえそうなのに・・・。
float angle = Vector3.Angle(Vector3.up, Vector3.down); Debug.Log(angle); // 180
翻訳ミス?
英語のドキュメント
This means the smaller of the two possible angles between the two vectors is used. The result is never greater than 180 degrees.