unity之RotateAround 一個物體圍繞另一個物體旋轉

public void RotateAround(Vector3 point, Vector3 axis, float angle); point:要圍繞的點; axiw:要圍繞的軸,如x,y,z angel:旋轉的角度 如下是一個簡單的demo,一個消息圖片圍繞箭頭圖片旋轉;this using UnityEngine; using System.Collections; public cla
相關文章
相關標籤/搜索