unity 3d 中的quaternion.Slerp的作用以及用法
void Update () {
Debug.DrawLine (target.transform.position, myTransform.position, Color.yellow);
myTransform.rotation = Quaternion.Slerp (myTransform.rotation,Quaternion.LookRotation(target.positi
原创
2014-09-24 11:38:02 ·
15408 阅读 ·
0 评论