Unity: Quaternion.LookRotatio簡解

public static Quaternion LookRotation(Vector3 forward, Vector3 upwards = Vector3.up); 根據兩個方向,生成一個四元數來作爲旋轉方向。 參數: forward The direction to look in. 看向的方向 upwards The vector that defines in which direct
相關文章
相關標籤/搜索