我可以对输入的模型统一翻译旋转一个导入的对象
我应该怎么做,使之旋转,我无法找到一个很好的来源不统一translate.rotate (0,5,5)
。
我的代码是在这里:我把脚本下的齿轮或主摄像头,但它不会转动我的脚本
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour {
public GameObject gear;
// Use this for initialization
// Update is called once per frame
void Update() {
gear.transform.Rotate (100, 10, 10);
}
}
脚本既主摄像头和对象下.... – dsada