基于Character Controller的基本第三人称控制
摘要:#1.准备工作 安装cinemachine 添加FreeLook Camera 找到合适的人物模型以及动画 添加Character Controller组件 2. MovementInput具体代码 using System.Collections; using System.Collections
阅读全文
记录Unity3D中的几种角色控制方式
摘要:#1.使用Transform直接控制 public int speed; Vector3 input; void Update() { //使用一个input向量接收按键的输入 input = new Vector3(Input.GetAxis("Horizontal"), 0, Input.Get
阅读全文