首页 > TAG信息列表 > Slerp

Vector3.Slerp用于平滑转向

# 第1种写法: Vector3.Slerp(v1, v2, percent) using UnityEngine; public class SmoothSetDirection : MonoBehaviour { public Transform tf1; public Transform tf2; public float percentSpeed = 0.5f; public bool running = false; private float