u3d物体跟随摄像头旋转角度_差值


u3d物体跟随摄像头旋转角度_差值_02

void Update () {
Quaternion rotation = Quaternion.LookRotation(transform.forward - m_arCam.transform.forward);
transform.rotation = Quaternion.Lerp(transform.rotation, rotation, Time.deltaTime * 5.0f);
}