unity3d旋转
unity3d旋转
Quaternion target = Quaternion.Euler(0.0f, tower_z_angle * (1.0f) , 0.0f); this.transform.Find("CraneSlider").transform.rotation = Quaternion.Slerp(this.transform.Find("CraneSlider").transform.rotation, target, Time.deltaTime * 2);
参考:https://www.cnblogs.com/yixidehao/articles/15607046.html
#####################
QQ 3087438119