public float Speed = 1;
void Update()
{
transform.RotateAround(new Vector3(0, 1, 2), Vector3.up, Speed);
}
unity空间内一物体绕球面固定点按照固定速度环绕运动
最新推荐文章于 2023-07-25 14:23:18 发布
public float Speed = 1;
void Update()
{
transform.RotateAround(new Vector3(0, 1, 2), Vector3.up, Speed);
}