📅  最后修改于: 2022-03-11 14:48:58.630000             🧑  作者: Mango
Quaternion lookOnLook =
Quaternion.LookRotation(enemy.transform.position - transform.position);
transform.rotation =
Quaternion.Slerp(transform.rotation, lookOnLook, Time.deltaTime);