FromRotation

Quaternion.FromRotation method

元の方向から目的の方向に回転するクォータニオンを作成します

public static Quaternion FromRotation(Vector3 orig, Vector3 dest)
パラメータタイプ説明
origVector3元の方向
destVector3行き先方向

戻り値

作成されたクォータニオン

関連項目